kwabs22 commited on
Commit
4dd165c
1 Parent(s): 9c26e86

Reorganisation tests

Browse files
Files changed (1) hide show
  1. app.py +41 -24
app.py CHANGED
@@ -645,6 +645,9 @@ with gr.Blocks() as demo:
645
  <div style="width: 20%; text-align: center">llms good at short questions </div>
646
  <div style="width: 20%; text-align: center">HF + Gradio allows for api use so this my prototype tool for tool use test</div>
647
  </div>""")
 
 
 
648
  with gr.Accordion("Temporary Asset Management Assist - click to open", open=False):
649
  gr.HTML("Make Files and Text ideas for the field and paste <br>When Space is restarted it will clear - zip export and import will be added later")
650
  with gr.Accordion("Upload Files for config"):
@@ -687,28 +690,6 @@ with gr.Blocks() as demo:
687
  outputs=file_explorer
688
  )
689
  gr.HTML("Placeholder for clearing uploaded assets (public space and temporary persistence = sharing and space problems)")
690
-
691
- with gr.Accordion("Text"):
692
- gr.HTML("Embed of a text sites")
693
- with gr.Accordion("LLM HF Spaces/Sites (Click Here to Open) - Ask for a story and suggestions based on the autoconfig", open=False):
694
- with gr.Row():
695
- linktochat = gr.Dropdown(choices=["https://labs.perplexity.ai/", "https://chat.lmsys.org", "https://sdk.vercel.ai/docs", "https://qwen-qwen-max-0428.hf.space", "https://cohereforai-c4ai-command-r-plus.hf.space", "https://huggingface.co/spaces/eswardivi/Phi-3-mini-128k-instruct", "https://eswardivi-phi-3-mini-4k-instruct.hf.space", "https://cyzgab-catch-me-if-you-can.hf.space", "https://snowflake-snowflake-arctic-st-demo.hf.space", "https://qwen-qwen1-5-110b-chat-demo.hf.space", "https://ysharma-chat-with-meta-llama3-8b.hf.space", "https://databricks-dbrx-instruct.hf.space", "https://qwen-qwen1-5-moe-a2-7b-chat-demo.hf.space", "https://cohereforai-c4ai-command-r-v01.hf.space", "https://ehristoforu-mixtral-46-7b-chat.hf.space", "https://stabilityai-stablelm-2-1-6b-zephyr.hf.space", "https://qwen-qwen1-5-72b-chat.hf.space", "https://deepseek-ai-deepseek-coder-7b-instruct.hf.space", "https://01-ai-yi-34b-chat.hf.space", "https://ysharma-zephyr-playground.hf.space", "https://huggingfaceh4-zephyr-chat.hf.space", "https://osanseviero-mistral-super-fast.hf.space", "https://artificialguybr-qwen-14b-chat-demo.hf.space", "https://huggingface-projects-llama-2-7b-chat.hf.space", "https://ysharma-explore-llamav2-with-tgi.hf.space", "https://mosaicml-mpt-30b-chat.hf.space", "https://huggingfaceh4-falcon-chat.hf.space", "https://uwnlp-guanaco-playground-tgi.hf.space", "https://stabilityai-stablelm-tuned-alpha-chat.hf.space", "https://mosaicml-mpt-7b-storywriter.hf.space", "https://huggingfaceh4-starchat-playground.hf.space", "https://bigcode-bigcode-playground.hf.space", "https://mosaicml-mpt-7b-chat.hf.space", "https://huggingchat-chat-ui.hf.space", "https://togethercomputer-openchatkit.hf.space"], label="Choose/Cancel type any .hf.space link here (can also type a link)'", allow_custom_value=True)
696
- chatspacebtn = gr.Button("Use the chosen URL to load interface with a chat model. For sdk.vercel click the chat button on the top left. For lymsys / chat arena copy the link and use a new tab")
697
- chatspace = gr.HTML("Chat Space Chosen will load here")
698
- chatspacebtn.click(display_website, inputs=linktochat, outputs=chatspace)
699
- with gr.Accordion("Other"):
700
- with gr.Accordion("Image Gen or Animation HF Spaces/Sites (Click Here to Open) - Have to download and upload at the the top", open=False):
701
- with gr.Row():
702
- linktoimagegen = gr.Dropdown(choices=["https://huggingface.co/spaces/linoyts/scribble-sdxl-flash", "https://prodia-sdxl-stable-diffusion-xl.hf.space", "https://prodia-fast-stable-diffusion.hf.space", "https://lllyasviel-ic-light.hf.space", "https://gparmar-img2img-turbo-sketch.hf.space", "https://artificialguybr-artificialguybr-demo-lora.hf.space", "https://kadirnar-open-sora.hf.space", "https://bytedance-animatediff-lightning.hf.space", "https://bytedance-hyper-sdxl-1step-t2i.hf.space", "https://ehristoforu-dalle-3-xl-lora-v2.hf.space", "https://multimodalart-cosxl.hf.space", "https://radames-real-time-text-to-image-sdxl-lightning.hf.space", "https://cagliostrolab-animagine-xl-3-1.hf.space", "https://wangfuyun-animatelcm-svd.hf.space" "https://modelscope-transferanything.hf.space", "https://visionmaze-magic-me.hf.space", "https://wangfuyun-animatelcm.hf.space", "https://artgan-diffusion-api.hf.space", "https://multimodalart-stable-cascade.hf.space", "https://ap123-sdxl-lightning.hf.space", "https://google-sdxl.hf.space", "https://guoyww-animatediff.hf.space", "https://segmind-segmind-stable-diffusion.hf.space", "https://simianluo-latent-consistency-model.hf.space", "https://artificialguybr-studio-ghibli-lora-sdxl.hf.space", "https://artificialguybr-pixel-art-generator.hf.space", "https://fffiloni-sdxl-control-loras.hf.space"], label="Choose/Cancel type any .hf.space link here (can also type a link)'", allow_custom_value=True)
703
- imagegenspacebtn = gr.Button("Use the chosen URL to load interface with a image generation model")
704
- imagegenspace = gr.HTML("Chat Space Chosen will load here")
705
- imagegenspacebtn.click(display_website, inputs=linktoimagegen, outputs=imagegenspace)
706
- with gr.Accordion("3D Model Spaces/Sites (Click Here to Open) - Image to Blender?", open=False):
707
- with gr.Row():
708
- linktoThreedModel = gr.Dropdown(choices=["https://tencentarc-instantmesh.hf.space", "https://ashawkey-lgm.hf.space", "https://dylanebert-lgm-mini.hf.space", "https://dylanebert-splat-to-mesh.hf.space", "https://dylanebert-multi-view-diffusion.hf.space"], label="Choose/Cancel type any .hf.space link here (can also type a link)'", allow_custom_value=True)
709
- ThreedModelspacebtn = gr.Button("Use the chosen URL to load interface with a 3D model")
710
- ThreedModelspace = gr.HTML("3D Space Chosen will load here")
711
- ThreedModelspacebtn.click(display_website, inputs=linktoThreedModel, outputs=ThreedModelspace)
712
 
713
  with gr.Accordion("Config Crafting Progression - click to open", open=False):
714
  with gr.Tab("Main areas of considerations"):
@@ -718,7 +699,7 @@ with gr.Blocks() as demo:
718
  with gr.Tab(""):
719
  gr.HTML("")
720
  with gr.Tab("Structural Inspirations"):
721
- gr.HTML("GTA Heists ")
722
  gr.HTML("Sports Scores, ")
723
  with gr.Tab("Themes"):
724
  gr.HTML("")
@@ -1449,9 +1430,32 @@ Would you like me to elaborate on any of these ideas or show how to implement th
1449
  with gr.Tab("Config Writing Considerations"):
1450
  gr.HTML("Player Stats, Inventory and NPCS not implemented yet, so traversal type games best aka graph like structures <br> Game is like a universal translator so any concept can be covered")
1451
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1452
  with gr.Tab("Asset Generation Considerations"):
1453
  gr.HTML("With some asset category ideas from gemini-1.5-flash-api-0514 and reka-flash-preview-20240611 <br><br>Licenses for the spaces still to be evaluated - June 2024")
1454
 
 
 
 
 
 
 
 
1455
  with gr.Tab("Save files"):
1456
  gr.HTML("For Dynamic events overnight or when player is not active what can LLMS edit? <br><br>eg. Waiting for a letter from a random npc can be decided by the llm <br>eg. Improved Stats on certain days (eg. bitrthday) <br>Privacy <br>User Directed DLC eg. Rockstar Editor with local llm guide")
1457
  gr.HTML("Some ideas - In game websites eg. GTA esp stock markets, news; ")
@@ -1463,6 +1467,13 @@ Would you like me to elaborate on any of these ideas or show how to implement th
1463
  gr.HTML("https://huggingface.co/spaces/AI-MO/math-olympiad-solver")
1464
 
1465
  with gr.Tab("Images"):
 
 
 
 
 
 
 
1466
  gr.HTML("Concept Art, UI elements, Static/3D Characters, Environments and Objects")
1467
  gr.HTML("Image Caption = https://huggingface.co/spaces/microsoft/Promptist, https://huggingface.co/spaces/gokaygokay/SD3-Long-Captioner, https://huggingface.co/spaces/gokaygokay/Florence-2, ")
1468
  gr.HTML("Images Generation Portraits = https://huggingface.co/spaces/okaris/omni-zero")
@@ -1494,6 +1505,12 @@ Would you like me to elaborate on any of these ideas or show how to implement th
1494
  gr.HTML("3rd Party / Closed Source - https://suno.com/ <br>https://www.udio.com/")
1495
 
1496
  with gr.Tab("3D"):
 
 
 
 
 
 
1497
  gr.HTML("Characters, Environments, Objects")
1498
  gr.HTML("Placeholder for huggingface spaces that can assist - https://huggingface.co/spaces/dylanebert/3d-arena, https://huggingface.co/spaces/Wuvin/Unique3D, https://huggingface.co/spaces/stabilityai/TripoSR, https://huggingface.co/spaces/hysts/Shap-E")
1499
  gr.HTML("Placeholder for models small enough to run on cpu here in this space that can assist")
@@ -1601,7 +1618,7 @@ Would you like me to elaborate on any of these ideas or show how to implement th
1601
 
1602
  with gr.Tab("LLM/Robotics as custom controllers Considerations"):
1603
  gr.HTML("Controls changed the scope of the game eg. mouse vs keyboard vs console controller vs remote vs touch screen <br>LLM can be vision/surveilance based controler (eg. MGS/GTA camera gauged by an actual camera in real life) or it can be a companion (offline/off console game progrssion ideas)")
1604
- gr.HTML("")
1605
 
1606
  with gr.Tab("Other Considerations"):
1607
  with gr.Tab("General"):
 
645
  <div style="width: 20%; text-align: center">llms good at short questions </div>
646
  <div style="width: 20%; text-align: center">HF + Gradio allows for api use so this my prototype tool for tool use test</div>
647
  </div>""")
648
+ with gr.Accordion("Qwen 0.5B as Space Guide Tests", open=False):
649
+ gr.HTML("Placeholder for FAQ type - front end as prompt engineering for the first message to force direction of conversion")
650
+ gr.HTML("Placeholder for weak RAG Type - Explanations through an opensource embeddings engine")
651
  with gr.Accordion("Temporary Asset Management Assist - click to open", open=False):
652
  gr.HTML("Make Files and Text ideas for the field and paste <br>When Space is restarted it will clear - zip export and import will be added later")
653
  with gr.Accordion("Upload Files for config"):
 
690
  outputs=file_explorer
691
  )
692
  gr.HTML("Placeholder for clearing uploaded assets (public space and temporary persistence = sharing and space problems)")
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
693
 
694
  with gr.Accordion("Config Crafting Progression - click to open", open=False):
695
  with gr.Tab("Main areas of considerations"):
 
699
  with gr.Tab(""):
700
  gr.HTML("")
701
  with gr.Tab("Structural Inspirations"):
702
+ gr.HTML("GTA Heists - Replayability and stakes, Tekken - 2/3 mistakes = lost round ")
703
  gr.HTML("Sports Scores, ")
704
  with gr.Tab("Themes"):
705
  gr.HTML("")
 
1430
  with gr.Tab("Config Writing Considerations"):
1431
  gr.HTML("Player Stats, Inventory and NPCS not implemented yet, so traversal type games best aka graph like structures <br> Game is like a universal translator so any concept can be covered")
1432
 
1433
+ with gr.Tab("Timeline Guide for Config Generation or evelution"):
1434
+ with gr.Accordion("Empty Config shape for explaining to LLM", open=False):
1435
+ gr.HTML(f"placeholder for current empty JSON config shape")
1436
+ gr.HTML("Structural indicators of quality of config")
1437
+ with gr.Tabs("Config Specific"):
1438
+ gr.HTML("Timeline for making Timelines?")
1439
+ gr.HTML("Componets (outside Code Support for Config): Decisions (and context explanation), Nested Sections, Media (Especially to affect decisions), Replayability (GTA and Tekken type mechanics in text form), Theme integration (Modified Varibles that affect UI or config order)")
1440
+ gr.HTML("From Nothing <br>")
1441
+ gr.HTML("From Existing <br>")
1442
+ with gr.Tabs("Existing Game Analysis"):
1443
+ gr.HTML("Existing Games eg. GTA Heists - Same Map with overlapping branching narratives, Battlefront - Elites amongst Commoners, Tekken Casino (one mistake = 1/2 or 1/3 of your Resources) and Turn based: 'Tactics' type nintendo games, Chess (and any other tile based game) ")
1444
+ gr.HTML("Existing Game Rules for text - Cyberpunk RED, ")
1445
+ with gr.Tabs("Multiplayer options"):
1446
+ gr.HTML("Community playthrough = Tally of players choices, Random item placed in a random location - first person to get it wins, Survival by location or characters met")
1447
+
1448
+
1449
  with gr.Tab("Asset Generation Considerations"):
1450
  gr.HTML("With some asset category ideas from gemini-1.5-flash-api-0514 and reka-flash-preview-20240611 <br><br>Licenses for the spaces still to be evaluated - June 2024")
1451
 
1452
+ with gr.Accordion("LLM HF Spaces/Sites (Click Here to Open) - Ask for a story and suggestions based on the autoconfig", open=False):
1453
+ with gr.Row():
1454
+ linktochat = gr.Dropdown(choices=["https://labs.perplexity.ai/", "https://chat.lmsys.org", "https://sdk.vercel.ai/docs", "https://qwen-qwen-max-0428.hf.space", "https://cohereforai-c4ai-command-r-plus.hf.space", "https://huggingface.co/spaces/eswardivi/Phi-3-mini-128k-instruct", "https://eswardivi-phi-3-mini-4k-instruct.hf.space", "https://cyzgab-catch-me-if-you-can.hf.space", "https://snowflake-snowflake-arctic-st-demo.hf.space", "https://qwen-qwen1-5-110b-chat-demo.hf.space", "https://ysharma-chat-with-meta-llama3-8b.hf.space", "https://databricks-dbrx-instruct.hf.space", "https://qwen-qwen1-5-moe-a2-7b-chat-demo.hf.space", "https://cohereforai-c4ai-command-r-v01.hf.space", "https://ehristoforu-mixtral-46-7b-chat.hf.space", "https://stabilityai-stablelm-2-1-6b-zephyr.hf.space", "https://qwen-qwen1-5-72b-chat.hf.space", "https://deepseek-ai-deepseek-coder-7b-instruct.hf.space", "https://01-ai-yi-34b-chat.hf.space", "https://ysharma-zephyr-playground.hf.space", "https://huggingfaceh4-zephyr-chat.hf.space", "https://osanseviero-mistral-super-fast.hf.space", "https://artificialguybr-qwen-14b-chat-demo.hf.space", "https://huggingface-projects-llama-2-7b-chat.hf.space", "https://ysharma-explore-llamav2-with-tgi.hf.space", "https://mosaicml-mpt-30b-chat.hf.space", "https://huggingfaceh4-falcon-chat.hf.space", "https://uwnlp-guanaco-playground-tgi.hf.space", "https://stabilityai-stablelm-tuned-alpha-chat.hf.space", "https://mosaicml-mpt-7b-storywriter.hf.space", "https://huggingfaceh4-starchat-playground.hf.space", "https://bigcode-bigcode-playground.hf.space", "https://mosaicml-mpt-7b-chat.hf.space", "https://huggingchat-chat-ui.hf.space", "https://togethercomputer-openchatkit.hf.space"], label="Choose/Cancel type any .hf.space link here (can also type a link)'", allow_custom_value=True)
1455
+ chatspacebtn = gr.Button("Use the chosen URL to load interface with a chat model. For sdk.vercel click the chat button on the top left. For lymsys / chat arena copy the link and use a new tab")
1456
+ chatspace = gr.HTML("Chat Space Chosen will load here")
1457
+ chatspacebtn.click(display_website, inputs=linktochat, outputs=chatspace)
1458
+
1459
  with gr.Tab("Save files"):
1460
  gr.HTML("For Dynamic events overnight or when player is not active what can LLMS edit? <br><br>eg. Waiting for a letter from a random npc can be decided by the llm <br>eg. Improved Stats on certain days (eg. bitrthday) <br>Privacy <br>User Directed DLC eg. Rockstar Editor with local llm guide")
1461
  gr.HTML("Some ideas - In game websites eg. GTA esp stock markets, news; ")
 
1467
  gr.HTML("https://huggingface.co/spaces/AI-MO/math-olympiad-solver")
1468
 
1469
  with gr.Tab("Images"):
1470
+ with gr.Accordion("Image Gen or Animation HF Spaces/Sites (Click Here to Open) - Have to download and upload at the the top", open=False):
1471
+ with gr.Tabs("General"):
1472
+ with gr.Row():
1473
+ linktoimagegen = gr.Dropdown(choices=["https://scribble-sdxl-flash.space", "https://prodia-sdxl-stable-diffusion-xl.hf.space", "https://prodia-fast-stable-diffusion.hf.space", "https://lllyasviel-ic-light.hf.space", "https://gparmar-img2img-turbo-sketch.hf.space", "https://artificialguybr-artificialguybr-demo-lora.hf.space", "https://kadirnar-open-sora.hf.space", "https://bytedance-animatediff-lightning.hf.space", "https://bytedance-hyper-sdxl-1step-t2i.hf.space", "https://ehristoforu-dalle-3-xl-lora-v2.hf.space", "https://multimodalart-cosxl.hf.space", "https://radames-real-time-text-to-image-sdxl-lightning.hf.space", "https://cagliostrolab-animagine-xl-3-1.hf.space", "https://wangfuyun-animatelcm-svd.hf.space" "https://modelscope-transferanything.hf.space", "https://visionmaze-magic-me.hf.space", "https://wangfuyun-animatelcm.hf.space", "https://artgan-diffusion-api.hf.space", "https://multimodalart-stable-cascade.hf.space", "https://ap123-sdxl-lightning.hf.space", "https://google-sdxl.hf.space", "https://guoyww-animatediff.hf.space", "https://segmind-segmind-stable-diffusion.hf.space", "https://simianluo-latent-consistency-model.hf.space", "https://artificialguybr-studio-ghibli-lora-sdxl.hf.space", "https://artificialguybr-pixel-art-generator.hf.space", "https://fffiloni-sdxl-control-loras.hf.space"], label="Choose/Cancel type any .hf.space link here (can also type a link)'", allow_custom_value=True)
1474
+ imagegenspacebtn = gr.Button("Use the chosen URL to load interface with a image generation model")
1475
+ imagegenspace = gr.HTML("Chat Space Chosen will load here")
1476
+ imagegenspacebtn.click(display_website, inputs=linktoimagegen, outputs=imagegenspace)
1477
  gr.HTML("Concept Art, UI elements, Static/3D Characters, Environments and Objects")
1478
  gr.HTML("Image Caption = https://huggingface.co/spaces/microsoft/Promptist, https://huggingface.co/spaces/gokaygokay/SD3-Long-Captioner, https://huggingface.co/spaces/gokaygokay/Florence-2, ")
1479
  gr.HTML("Images Generation Portraits = https://huggingface.co/spaces/okaris/omni-zero")
 
1505
  gr.HTML("3rd Party / Closed Source - https://suno.com/ <br>https://www.udio.com/")
1506
 
1507
  with gr.Tab("3D"):
1508
+ with gr.Accordion("3D Model Spaces/Sites (Click Here to Open) - Image to Blender?", open=False):
1509
+ with gr.Row():
1510
+ linktoThreedModel = gr.Dropdown(choices=["https://tencentarc-instantmesh.hf.space", "https://ashawkey-lgm.hf.space", "https://dylanebert-lgm-mini.hf.space", "https://dylanebert-splat-to-mesh.hf.space", "https://dylanebert-multi-view-diffusion.hf.space"], label="Choose/Cancel type any .hf.space link here (can also type a link)'", allow_custom_value=True)
1511
+ ThreedModelspacebtn = gr.Button("Use the chosen URL to load interface with a 3D model")
1512
+ ThreedModelspace = gr.HTML("3D Space Chosen will load here")
1513
+ ThreedModelspacebtn.click(display_website, inputs=linktoThreedModel, outputs=ThreedModelspace)
1514
  gr.HTML("Characters, Environments, Objects")
1515
  gr.HTML("Placeholder for huggingface spaces that can assist - https://huggingface.co/spaces/dylanebert/3d-arena, https://huggingface.co/spaces/Wuvin/Unique3D, https://huggingface.co/spaces/stabilityai/TripoSR, https://huggingface.co/spaces/hysts/Shap-E")
1516
  gr.HTML("Placeholder for models small enough to run on cpu here in this space that can assist")
 
1618
 
1619
  with gr.Tab("LLM/Robotics as custom controllers Considerations"):
1620
  gr.HTML("Controls changed the scope of the game eg. mouse vs keyboard vs console controller vs remote vs touch screen <br>LLM can be vision/surveilance based controler (eg. MGS/GTA camera gauged by an actual camera in real life) or it can be a companion (offline/off console game progrssion ideas)")
1621
+ gr.HTML("Robotics - https://github.com/OpenTeleVision/TeleVision https://www.stereolabs.com/")
1622
 
1623
  with gr.Tab("Other Considerations"):
1624
  with gr.Tab("General"):