Spaces:
Runtime error
Runtime error
kwabs22
commited on
Commit
·
d1a28c0
1
Parent(s):
f672e00
Reorganisation attempt
Browse files
app.py
CHANGED
|
@@ -737,6 +737,155 @@ with gr.Blocks() as demo:
|
|
| 737 |
outputs=[llmguide_output, llmguide_tokens_per_second],
|
| 738 |
)
|
| 739 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 740 |
with gr.Accordion("Temporary Asset Management Assist - click to open", open=False):
|
| 741 |
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")
|
| 742 |
with gr.Accordion("Upload Files for config"):
|
|
@@ -778,12 +927,17 @@ with gr.Blocks() as demo:
|
|
| 778 |
refresh_file_explorer,
|
| 779 |
outputs=file_explorer
|
| 780 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 781 |
gr.HTML("Placeholder for clearing uploaded assets (public space and temporary persistence = sharing and space problems)")
|
| 782 |
|
| 783 |
with gr.Accordion("Config Crafting Progression - click to open", open=False):
|
| 784 |
with gr.Tab("Main areas of considerations"):
|
| 785 |
with gr.Tab("Mermaid Graphs and Nesting"):
|
| 786 |
-
gr.HTML("<
|
| 787 |
gr.HTML("")
|
| 788 |
with gr.Tab(""):
|
| 789 |
gr.HTML("")
|
|
@@ -792,6 +946,20 @@ with gr.Blocks() as demo:
|
|
| 792 |
gr.HTML("Sports Scores, ")
|
| 793 |
with gr.Tab("Themes"):
|
| 794 |
gr.HTML("")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 795 |
|
| 796 |
originalconfigatbeinningofthisspace = """{
|
| 797 |
"village": {
|
|
@@ -1519,21 +1687,6 @@ Would you like me to elaborate on any of these ideas or show how to implement th
|
|
| 1519 |
with gr.Tab("Config Writing Considerations"):
|
| 1520 |
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")
|
| 1521 |
|
| 1522 |
-
with gr.Tab("Timeline Guide for Config Generation or evelution"):
|
| 1523 |
-
with gr.Accordion("Empty Config shape for explaining to LLM", open=False):
|
| 1524 |
-
gr.HTML(f"placeholder for current empty JSON config shape")
|
| 1525 |
-
gr.HTML("Structural indicators of quality of config")
|
| 1526 |
-
with gr.Tabs("Config Specific"):
|
| 1527 |
-
gr.HTML("Timeline for making Timelines?")
|
| 1528 |
-
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)")
|
| 1529 |
-
gr.HTML("From Nothing <br>")
|
| 1530 |
-
gr.HTML("From Existing <br>")
|
| 1531 |
-
with gr.Tabs("Existing Game Analysis"):
|
| 1532 |
-
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) ")
|
| 1533 |
-
gr.HTML("Existing Game Rules for text - Cyberpunk RED, ")
|
| 1534 |
-
with gr.Tabs("Multiplayer options"):
|
| 1535 |
-
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")
|
| 1536 |
-
|
| 1537 |
|
| 1538 |
with gr.Tab("Asset Generation Considerations"):
|
| 1539 |
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")
|
|
@@ -1559,18 +1712,18 @@ Would you like me to elaborate on any of these ideas or show how to implement th
|
|
| 1559 |
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):
|
| 1560 |
# with gr.Tabs("General"):
|
| 1561 |
with gr.Row():
|
| 1562 |
-
linktoimagegen = gr.Dropdown(choices=["General", "https://prodia-sdxl-stable-diffusion-xl.hf.space", "https://prodia-fast-stable-diffusion.hf.space", "https://bytedance-hyper-sdxl-1step-t2i.hf.space", "https://multimodalart-cosxl.hf.space", "https://cagliostrolab-animagine-xl-3-1.hf.space",
|
| 1563 |
-
"Speed", "https://radames-real-time-text-to-image-sdxl-lightning.hf.space", "https://ap123-sdxl-lightning.hf.space",
|
| 1564 |
-
"LORA Support", "https://artificialguybr-artificialguybr-demo-lora.hf.space", "https://ehristoforu-dalle-3-xl-lora-v2.hf.space",
|
| 1565 |
-
"Image to Image", "https://lllyasviel-ic-light.hf.space", "https://gparmar-img2img-turbo-sketch.hf.space",
|
| 1566 |
-
"Control of Pose", "https://instantx-instantid.hf.space",
|
| 1567 |
-
"Control of Shapes", "https://linoyts-scribble-sdxl-flash.hf.space",
|
| 1568 |
imagegenspacebtn = gr.Button("Use the chosen URL to load interface with a image generation model")
|
| 1569 |
|
| 1570 |
imagegenspace = gr.HTML("Chat Space Chosen will load here")
|
| 1571 |
imagegenspacebtn.click(display_website, inputs=linktoimagegen, outputs=imagegenspace)
|
| 1572 |
|
| 1573 |
-
linkstobecollectednoembed = "https://artgan-diffusion-api.hf.space", "https://multimodalart-stable-cascade.hf.space", "https://google-sdxl.hf.space",
|
| 1574 |
gr.HTML("Concept Art, UI elements, Static/3D Characters, Environments and Objects")
|
| 1575 |
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, ")
|
| 1576 |
gr.HTML("Images Generation Portraits = https://huggingface.co/spaces/okaris/omni-zero")
|
|
@@ -1587,15 +1740,35 @@ Would you like me to elaborate on any of these ideas or show how to implement th
|
|
| 1587 |
gr.HTML("Placeholder for models small enough to run on cpu here in this space that can assist")
|
| 1588 |
|
| 1589 |
with gr.Tab("Video"):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1590 |
|
| 1591 |
-
linkstobecollectednoembed2 = "https://kadirnar-open-sora.hf.space", "https://wangfuyun-animatelcm-svd.hf.space", "https://bytedance-animatediff-lightning.hf.space",
|
| 1592 |
gr.HTML("Cutscenes, Tutorials, Trailers")
|
| 1593 |
gr.HTML("Portrait Video eg. Solo Taking NPC - https://huggingface.co/spaces/fffiloni/tts-hallo-talking-portrait (Image + Audio and combination) https://huggingface.co/spaces/KwaiVGI/LivePortrait (Non verbal communication eg. in a library, when running from a pursuer)")
|
| 1594 |
gr.HTML("Placeholder for huggingface spaces that can assist - https://huggingface.co/spaces/KingNish/Instant-Video, https://huggingface.co/spaces/multimodalart/stable-video-diffusion, https://huggingface.co/spaces/multimodalart/stable-video-diffusion")
|
| 1595 |
gr.HTML("Placeholder for models small enough to run on cpu here in this space that can assist")
|
| 1596 |
gr.HTML("3rd Party / Closed Source - https://runwayml.com/ <br>")
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1597 |
|
| 1598 |
with gr.Tab("Audio"):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1599 |
gr.HTML("Music - Background, Interactive, Cutscene, Menu <br>Sound Effects - Environment, character, action (environmental triggered by user eg. gun), UI <br>Speech - Dialouge, narration, voiceover <br>The new render function means the Config can be made and iframe/api functions can be ordered as neccessary based on the part of the config that needs it to streamline workflows based on current state of config ")
|
| 1600 |
gr.HTML("Placeholder for huggingface spaces that can assist")
|
| 1601 |
gr.HTML("Audio Sound Effects - https://huggingface.co/spaces/artificialguybr/Stable-Audio-Open-Zero")
|
|
@@ -1606,18 +1779,14 @@ Would you like me to elaborate on any of these ideas or show how to implement th
|
|
| 1606 |
with gr.Tab("3D"):
|
| 1607 |
with gr.Accordion("3D Model Spaces/Sites (Click Here to Open) - Image to Blender?", open=False):
|
| 1608 |
with gr.Row():
|
| 1609 |
-
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)
|
| 1610 |
ThreedModelspacebtn = gr.Button("Use the chosen URL to load interface with a 3D model")
|
| 1611 |
ThreedModelspace = gr.HTML("3D Space Chosen will load here")
|
| 1612 |
ThreedModelspacebtn.click(display_website, inputs=linktoThreedModel, outputs=ThreedModelspace)
|
| 1613 |
gr.HTML("Characters, Environments, Objects")
|
| 1614 |
-
gr.HTML("Placeholder for huggingface spaces that can assist - https://huggingface.co/spaces/dylanebert/3d-arena
|
| 1615 |
-
gr.HTML("Placeholder for models small enough to run on cpu here in this space that can assist")
|
| 1616 |
-
|
| 1617 |
-
with gr.Tab("Animations (for lower resource use)"):
|
| 1618 |
-
gr.HTML("Characters, Environments, Objects")
|
| 1619 |
-
gr.HTML("Placeholder for huggingface spaces that can assist - image as 3d object in video https://huggingface.co/spaces/ashawkey/LGM")
|
| 1620 |
gr.HTML("Placeholder for models small enough to run on cpu here in this space that can assist")
|
|
|
|
| 1621 |
|
| 1622 |
with gr.Tab("Fonts"):
|
| 1623 |
gr.HTML("Style of whole game, or locations, or characters")
|
|
@@ -1636,7 +1805,7 @@ Would you like me to elaborate on any of these ideas or show how to implement th
|
|
| 1636 |
gr.HTML("https://x.com/blizaine")
|
| 1637 |
|
| 1638 |
with gr.Tab("Basic Game Engine Mechanics"):
|
| 1639 |
-
gr.HTML("Placeholder for explanations")
|
| 1640 |
|
| 1641 |
with gr.Tab("LLM play testing"):
|
| 1642 |
gr.HTML("LLM can read the contents in full and give critiques but they can also play the game if you make a api interface - gradio allows this in the form of gradio client but you can also reroute the user inputs to function calling")
|
|
|
|
| 737 |
outputs=[llmguide_output, llmguide_tokens_per_second],
|
| 738 |
)
|
| 739 |
|
| 740 |
+
Frontendpromptengforguide = """Suggest descriptions for media to fill the empty media fields -
|
| 741 |
+
|
| 742 |
+
{
|
| 743 |
+
"village": {
|
| 744 |
+
"start": {
|
| 745 |
+
"description": "You wake up in a small village. You hear a rumor about a lost treasure.",
|
| 746 |
+
"choices": [
|
| 747 |
+
"explore village",
|
| 748 |
+
"gather supplies",
|
| 749 |
+
"rest"
|
| 750 |
+
],
|
| 751 |
+
"transitions": {
|
| 752 |
+
"explore village": "village_rumor",
|
| 753 |
+
"gather supplies": "village_supplies",
|
| 754 |
+
"rest": "village_start"
|
| 755 |
+
},
|
| 756 |
+
"consequences": {
|
| 757 |
+
"gather supplies": {}
|
| 758 |
+
},
|
| 759 |
+
"media": []
|
| 760 |
+
},
|
| 761 |
+
"rumor": {
|
| 762 |
+
"description": "You hear more details about the treasure hidden in the ancient ruins nearby.",
|
| 763 |
+
"choices": [
|
| 764 |
+
"decide to go",
|
| 765 |
+
"ignore"
|
| 766 |
+
],
|
| 767 |
+
"transitions": {
|
| 768 |
+
"decide to go": "village_supplies",
|
| 769 |
+
"ignore": "village_start"
|
| 770 |
+
},
|
| 771 |
+
"consequences": {
|
| 772 |
+
"decide to go": {}
|
| 773 |
+
},
|
| 774 |
+
"media": []
|
| 775 |
+
},
|
| 776 |
+
"supplies": {
|
| 777 |
+
"description": "You gather supplies for your journey.",
|
| 778 |
+
"choices": [
|
| 779 |
+
"head to forest",
|
| 780 |
+
"stay in village"
|
| 781 |
+
],
|
| 782 |
+
"transitions": {
|
| 783 |
+
"head to forest": "forest_forest",
|
| 784 |
+
"stay in village": "village_start"
|
| 785 |
+
},
|
| 786 |
+
"media": []
|
| 787 |
+
}
|
| 788 |
+
},
|
| 789 |
+
"forest": {
|
| 790 |
+
"forest": {
|
| 791 |
+
"description": "You enter the dense forest, heading towards the ruins.",
|
| 792 |
+
"choices": [
|
| 793 |
+
"travel further",
|
| 794 |
+
"return to village"
|
| 795 |
+
],
|
| 796 |
+
"transitions": {
|
| 797 |
+
"travel further": "ruins_ruins",
|
| 798 |
+
"return to village": "village_start"
|
| 799 |
+
},
|
| 800 |
+
"media": []
|
| 801 |
+
}
|
| 802 |
+
},
|
| 803 |
+
"ruins": {
|
| 804 |
+
"ruins": {
|
| 805 |
+
"description": "You reach the ancient ruins. The entrance is dark and eerie.",
|
| 806 |
+
"choices": [
|
| 807 |
+
"enter ruins",
|
| 808 |
+
"return to forest"
|
| 809 |
+
],
|
| 810 |
+
"transitions": {
|
| 811 |
+
"enter ruins": "ruins_explore",
|
| 812 |
+
"return to forest": "forest_forest"
|
| 813 |
+
},
|
| 814 |
+
"media": []
|
| 815 |
+
},
|
| 816 |
+
"explore": {
|
| 817 |
+
"description": "You explore the ruins, encountering traps and puzzles.",
|
| 818 |
+
"choices": [
|
| 819 |
+
"solve puzzle",
|
| 820 |
+
"avoid traps"
|
| 821 |
+
],
|
| 822 |
+
"transitions": {
|
| 823 |
+
"solve puzzle": "ruins_hiddenPassage",
|
| 824 |
+
"avoid traps": "ruins_ruins"
|
| 825 |
+
},
|
| 826 |
+
"media": []
|
| 827 |
+
},
|
| 828 |
+
"hiddenPassage": {
|
| 829 |
+
"description": "You solve a challenging puzzle and unlock a hidden passage.",
|
| 830 |
+
"choices": [
|
| 831 |
+
"enter passage",
|
| 832 |
+
"go back"
|
| 833 |
+
],
|
| 834 |
+
"transitions": {
|
| 835 |
+
"enter passage": "ruins_treasureRoom",
|
| 836 |
+
"go back": "ruins_explore"
|
| 837 |
+
},
|
| 838 |
+
"media": []
|
| 839 |
+
},
|
| 840 |
+
"treasureRoom": {
|
| 841 |
+
"description": "You enter the treasure room and find the treasure chest.",
|
| 842 |
+
"choices": [
|
| 843 |
+
"take treasure",
|
| 844 |
+
"leave"
|
| 845 |
+
],
|
| 846 |
+
"transitions": {
|
| 847 |
+
"take treasure": "ruins_celebrate",
|
| 848 |
+
"leave": "ruins_ruins"
|
| 849 |
+
},
|
| 850 |
+
"consequences": {
|
| 851 |
+
"take treasure": {}
|
| 852 |
+
},
|
| 853 |
+
"media": []
|
| 854 |
+
},
|
| 855 |
+
"celebrate": {
|
| 856 |
+
"description": "You celebrate your discovery and decide to bring the treasure back to the village.",
|
| 857 |
+
"choices": [
|
| 858 |
+
"return to village"
|
| 859 |
+
],
|
| 860 |
+
"transitions": {
|
| 861 |
+
"return to village": "village_return"
|
| 862 |
+
},
|
| 863 |
+
"media": []
|
| 864 |
+
}
|
| 865 |
+
},
|
| 866 |
+
"village_return": {
|
| 867 |
+
"village_return": {
|
| 868 |
+
"description": "You return to the village with the treasure and share it with the villagers.",
|
| 869 |
+
"choices": [
|
| 870 |
+
"end adventure"
|
| 871 |
+
],
|
| 872 |
+
"transitions": {
|
| 873 |
+
"end adventure": "end_end"
|
| 874 |
+
},
|
| 875 |
+
"media": []
|
| 876 |
+
}
|
| 877 |
+
},
|
| 878 |
+
"end": {
|
| 879 |
+
"end": {
|
| 880 |
+
"description": "Your adventure ends here. The villagers are grateful and everyone's lives improve.",
|
| 881 |
+
"choices": [],
|
| 882 |
+
"transitions": {},
|
| 883 |
+
"media": []
|
| 884 |
+
}
|
| 885 |
+
}
|
| 886 |
+
}
|
| 887 |
+
"""
|
| 888 |
+
|
| 889 |
with gr.Accordion("Temporary Asset Management Assist - click to open", open=False):
|
| 890 |
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")
|
| 891 |
with gr.Accordion("Upload Files for config"):
|
|
|
|
| 927 |
refresh_file_explorer,
|
| 928 |
outputs=file_explorer
|
| 929 |
)
|
| 930 |
+
|
| 931 |
+
with gr.Tab("Batch add files to config"):
|
| 932 |
+
gr.HTML("Placeholder for Config parser to allow dropdowns for the media parts of the config inserted to make assigning media quick")
|
| 933 |
+
gr.HTML("Placeholder for Config parser to allow for current zerospace creation and placement into the config (LLM can give list of media but still have to figure out workflow from there)")
|
| 934 |
+
|
| 935 |
gr.HTML("Placeholder for clearing uploaded assets (public space and temporary persistence = sharing and space problems)")
|
| 936 |
|
| 937 |
with gr.Accordion("Config Crafting Progression - click to open", open=False):
|
| 938 |
with gr.Tab("Main areas of considerations"):
|
| 939 |
with gr.Tab("Mermaid Graphs and Nesting"):
|
| 940 |
+
gr.HTML("Claude Artifacts to illustrate <br> https://claude.site/artifacts/265e9242-2093-46e1-9011-ed6ad938be90?fullscreen=false <br> ")
|
| 941 |
gr.HTML("")
|
| 942 |
with gr.Tab(""):
|
| 943 |
gr.HTML("")
|
|
|
|
| 946 |
gr.HTML("Sports Scores, ")
|
| 947 |
with gr.Tab("Themes"):
|
| 948 |
gr.HTML("")
|
| 949 |
+
with gr.Tab("Timeline Guide for Config Generation or evelution"):
|
| 950 |
+
with gr.Accordion("Empty Config shape for explaining to LLM", open=False):
|
| 951 |
+
gr.HTML(f"placeholder for current empty JSON config shape")
|
| 952 |
+
gr.HTML("Structural indicators of quality of config")
|
| 953 |
+
with gr.Tabs("Config Specific"):
|
| 954 |
+
gr.HTML("Timeline for making Timelines?")
|
| 955 |
+
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)")
|
| 956 |
+
gr.HTML("From Nothing <br>")
|
| 957 |
+
gr.HTML("From Existing <br>")
|
| 958 |
+
with gr.Tabs("Existing Game Analysis"):
|
| 959 |
+
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) ")
|
| 960 |
+
gr.HTML("Existing Game Rules for text - Cyberpunk RED, ")
|
| 961 |
+
with gr.Tabs("Multiplayer options"):
|
| 962 |
+
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")
|
| 963 |
|
| 964 |
originalconfigatbeinningofthisspace = """{
|
| 965 |
"village": {
|
|
|
|
| 1687 |
with gr.Tab("Config Writing Considerations"):
|
| 1688 |
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")
|
| 1689 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1690 |
|
| 1691 |
with gr.Tab("Asset Generation Considerations"):
|
| 1692 |
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")
|
|
|
|
| 1712 |
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):
|
| 1713 |
# with gr.Tabs("General"):
|
| 1714 |
with gr.Row():
|
| 1715 |
+
linktoimagegen = gr.Dropdown(choices=["--General--", "https://prodia-sdxl-stable-diffusion-xl.hf.space", "https://prodia-fast-stable-diffusion.hf.space", "https://bytedance-hyper-sdxl-1step-t2i.hf.space", "https://multimodalart-cosxl.hf.space", "https://cagliostrolab-animagine-xl-3-1.hf.space",
|
| 1716 |
+
"--Speed--", "https://radames-real-time-text-to-image-sdxl-lightning.hf.space", "https://ap123-sdxl-lightning.hf.space",
|
| 1717 |
+
"--LORA Support--", "https://artificialguybr-artificialguybr-demo-lora.hf.space", "https://artificialguybr-studio-ghibli-lora-sdxl.hf.space", "https://artificialguybr-pixel-art-generator.hf.space", "https://fffiloni-sdxl-control-loras.hf.space", "https://ehristoforu-dalle-3-xl-lora-v2.hf.space",
|
| 1718 |
+
"--Image to Image--", "https://lllyasviel-ic-light.hf.space", "https://gparmar-img2img-turbo-sketch.hf.space",
|
| 1719 |
+
"--Control of Pose--", "https://instantx-instantid.hf.space", "https://modelscope-transferanything.hf.space",
|
| 1720 |
+
"--Control of Shapes--", "https://linoyts-scribble-sdxl-flash.hf.space",], label="Choose/Cancel type any .hf.space link here (can also type a link)'", allow_custom_value=True)
|
| 1721 |
imagegenspacebtn = gr.Button("Use the chosen URL to load interface with a image generation model")
|
| 1722 |
|
| 1723 |
imagegenspace = gr.HTML("Chat Space Chosen will load here")
|
| 1724 |
imagegenspacebtn.click(display_website, inputs=linktoimagegen, outputs=imagegenspace)
|
| 1725 |
|
| 1726 |
+
linkstobecollectednoembed = "https://artgan-diffusion-api.hf.space", "https://multimodalart-stable-cascade.hf.space", "https://google-sdxl.hf.space", "https://visionmaze-magic-me.hf.space", "https://segmind-segmind-stable-diffusion.hf.space", "https://simianluo-latent-consistency-model.hf.space",
|
| 1727 |
gr.HTML("Concept Art, UI elements, Static/3D Characters, Environments and Objects")
|
| 1728 |
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, ")
|
| 1729 |
gr.HTML("Images Generation Portraits = https://huggingface.co/spaces/okaris/omni-zero")
|
|
|
|
| 1740 |
gr.HTML("Placeholder for models small enough to run on cpu here in this space that can assist")
|
| 1741 |
|
| 1742 |
with gr.Tab("Video"):
|
| 1743 |
+
with gr.Accordion("Video Spaces/Sites (Click Here to Open) - Image to Blender?", open=False):
|
| 1744 |
+
with gr.Row():
|
| 1745 |
+
linktovideogenspace = gr.Dropdown(choices=["--Genral--", "https://kadirnar-open-sora.hf.space",
|
| 1746 |
+
"--Talking Headshot",
|
| 1747 |
+
"--Gif--", "https://wangfuyun-animatelcm-svd.hf.space", "https://bytedance-animatediff-lightning.hf.space", "https://wangfuyun-animatelcm.hf.space", "https://guoyww-animatediff.hf.space",
|
| 1748 |
+
"--ImgtoImg based video--"],
|
| 1749 |
+
label="Choose/Cancel type any .hf.space link here (can also type a link)'", allow_custom_value=True)
|
| 1750 |
+
videogenspacebtn = gr.Button("Use the chosen URL to load interface with video generation")
|
| 1751 |
+
videogenspace = gr.HTML("Video Space Chosen will load here")
|
| 1752 |
+
videogenspacebtn.click(display_website, inputs=linktovideogenspace, outputs=videogenspace)
|
| 1753 |
|
|
|
|
| 1754 |
gr.HTML("Cutscenes, Tutorials, Trailers")
|
| 1755 |
gr.HTML("Portrait Video eg. Solo Taking NPC - https://huggingface.co/spaces/fffiloni/tts-hallo-talking-portrait (Image + Audio and combination) https://huggingface.co/spaces/KwaiVGI/LivePortrait (Non verbal communication eg. in a library, when running from a pursuer)")
|
| 1756 |
gr.HTML("Placeholder for huggingface spaces that can assist - https://huggingface.co/spaces/KingNish/Instant-Video, https://huggingface.co/spaces/multimodalart/stable-video-diffusion, https://huggingface.co/spaces/multimodalart/stable-video-diffusion")
|
| 1757 |
gr.HTML("Placeholder for models small enough to run on cpu here in this space that can assist")
|
| 1758 |
gr.HTML("3rd Party / Closed Source - https://runwayml.com/ <br>")
|
| 1759 |
+
with gr.Tab("Animations (for lower resource use)"):
|
| 1760 |
+
gr.HTML("Characters, Environments, Objects")
|
| 1761 |
+
gr.HTML("Placeholder for huggingface spaces that can assist - image as 3d object in video https://huggingface.co/spaces/ashawkey/LGM")
|
| 1762 |
+
gr.HTML("Placeholder for models small enough to run on cpu here in this space that can assist")
|
| 1763 |
|
| 1764 |
with gr.Tab("Audio"):
|
| 1765 |
+
with gr.Accordion("3D Model Spaces/Sites (Click Here to Open) - Image to Blender?", open=False):
|
| 1766 |
+
with gr.Row():
|
| 1767 |
+
linktoaudiiogenspace = gr.Dropdown(choices=[""],
|
| 1768 |
+
label="Choose/Cancel type any .hf.space link here (can also type a link)'", allow_custom_value=True)
|
| 1769 |
+
audiiogenspacebtn = gr.Button("Use the chosen URL to load interface with audio generation")
|
| 1770 |
+
audiiogenspace = gr.HTML("Audio Space Chosen will load here")
|
| 1771 |
+
audiiogenspacebtn.click(display_website, inputs=linktoaudiiogenspace, outputs=audiiogenspace)
|
| 1772 |
gr.HTML("Music - Background, Interactive, Cutscene, Menu <br>Sound Effects - Environment, character, action (environmental triggered by user eg. gun), UI <br>Speech - Dialouge, narration, voiceover <br>The new render function means the Config can be made and iframe/api functions can be ordered as neccessary based on the part of the config that needs it to streamline workflows based on current state of config ")
|
| 1773 |
gr.HTML("Placeholder for huggingface spaces that can assist")
|
| 1774 |
gr.HTML("Audio Sound Effects - https://huggingface.co/spaces/artificialguybr/Stable-Audio-Open-Zero")
|
|
|
|
| 1779 |
with gr.Tab("3D"):
|
| 1780 |
with gr.Accordion("3D Model Spaces/Sites (Click Here to Open) - Image to Blender?", open=False):
|
| 1781 |
with gr.Row():
|
| 1782 |
+
linktoThreedModel = gr.Dropdown(choices=["https://wuvin-unique3d.hf.space", "https://stabilityai-triposr.hf.space", "https://hysts-shap-e.hf.space", "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)
|
| 1783 |
ThreedModelspacebtn = gr.Button("Use the chosen URL to load interface with a 3D model")
|
| 1784 |
ThreedModelspace = gr.HTML("3D Space Chosen will load here")
|
| 1785 |
ThreedModelspacebtn.click(display_website, inputs=linktoThreedModel, outputs=ThreedModelspace)
|
| 1786 |
gr.HTML("Characters, Environments, Objects")
|
| 1787 |
+
gr.HTML("Placeholder for huggingface spaces that can assist - https://huggingface.co/spaces/dylanebert/3d-arena")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1788 |
gr.HTML("Placeholder for models small enough to run on cpu here in this space that can assist")
|
| 1789 |
+
gr.HTML("Closed Source - https://www.meshy.ai/")
|
| 1790 |
|
| 1791 |
with gr.Tab("Fonts"):
|
| 1792 |
gr.HTML("Style of whole game, or locations, or characters")
|
|
|
|
| 1805 |
gr.HTML("https://x.com/blizaine")
|
| 1806 |
|
| 1807 |
with gr.Tab("Basic Game Engine Mechanics"):
|
| 1808 |
+
gr.HTML("Placeholder for explanations of Player and Game Session")
|
| 1809 |
|
| 1810 |
with gr.Tab("LLM play testing"):
|
| 1811 |
gr.HTML("LLM can read the contents in full and give critiques but they can also play the game if you make a api interface - gradio allows this in the form of gradio client but you can also reroute the user inputs to function calling")
|