kwabs22 commited on
Commit
fdeec3f
1 Parent(s): d1a28c0

Reorganisation attempt

Browse files
Files changed (1) hide show
  1. app.py +116 -114
app.py CHANGED
@@ -886,54 +886,70 @@ with gr.Blocks() as demo:
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"):
892
- gr.Markdown("# Media Saver and Explorer (refresh file list to be resolved - for now upload all files and reload the space - they persist as long as the space creator doesnt reset/update the space - will add manual clear options later)")
893
- with gr.Tab("Upload Files"):
894
- file_input = gr.File(label="Choose File to Upload")
895
- save_output = gr.Textbox(label="Upload Status")
896
-
897
- with gr.Tab("File Explorer"):
898
-
899
- file_explorer = gr.FileExplorer(
900
- root_dir=SAVE_DIR,
901
- glob="*.*",
902
- file_count="single",
903
- height=300,
904
- label="Select a file to view"
905
- )
906
- with gr.Row():
907
- refresh_button = gr.Button("Refresh", scale=1)
908
- view_button = gr.Button("View File")
909
- image_output = gr.Image(label="Image Output", type="pil")
910
- audio_output = gr.Audio(label="Audio Output")
911
- video_output = gr.Video(label="Video Output")
912
- error_output = gr.Textbox(label="Error")
913
-
914
- file_input.upload(
915
- save_file,
916
- inputs=file_input,
917
- outputs=[save_output, file_explorer, file_input]
918
- )
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
919
 
920
- view_button.click(
921
- view_file,
922
- inputs=file_explorer,
923
- outputs=[image_output, audio_output, video_output, error_output]
924
- )
 
 
 
925
 
926
- refresh_button.click(
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"):
@@ -946,20 +962,6 @@ with gr.Blocks() as demo:
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": {
@@ -1494,6 +1496,55 @@ Would you like me to elaborate on any of these ideas or show how to implement th
1494
  </div>
1495
  </div>""")
1496
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1497
  with gr.Tab("Test and Edit Config"):
1498
  gr.HTML("The main issue is frequent changes add more chances for bugs in how - manual and auto refer mainly to ensuring correct JSON format ")
1499
  with gr.Tab("Full Manual - Test Example State Machine"):
@@ -1637,56 +1688,6 @@ Would you like me to elaborate on any of these ideas or show how to implement th
1637
  return show_elements_json_input(ewpwacustom_config)
1638
 
1639
  ewpgenerate_button.click(generate_story_and_timeline, inputs=[ewpgenerate_no_ui_timeline_points, ewpgenerate_no_media_timeline_points, ewpgenerate_with_media_check], outputs=[ewptimeline_output_with_assets, ewptimeline_output, ewpstory_output, ewpwacustom_config, ewpgame_structure_output_text]) #ewpgame_structure_output_text_with_media, ewpgame_structure_output_text])
1640
-
1641
- with gr.Tab("Some Workflow Helpers (Removed as built into Semi-Auto)"):
1642
- gr.HTML("Song / Random Scenario to 'full game' manual or auto is end goal ")
1643
- gr.HTML("Main Priority is to make rails for the story to work on as a simplified view of a game is a linear path with loops (gameplay mechanics) <br> Below = Manual Edit (At bottom you can save the changes and copy it to test) <br>For LLM edit copy either the Timeline")
1644
- gr.HTML("The problem is the assets generation isnt free and using spaces as api also clogs them (no way to know when ZeroGPUs are at lowest usage) so using iFrame is better for now <br> So worklfow -- Make Skeleton -- Use Iframe to get media -- then ask for details / story / gameplay loop ideas and add back to config")
1645
- with gr.Tab("Schema First"):
1646
- gr.HTML("Some Kinds of game skeletons ideas - Timelines, Graph as State machine paths, Economy ecosystem")
1647
- gr.HTML("One prompt to be used to test models - <br>Please make 10 python lists for the types of media files and their purposes in a game and then use those lists to random generate a timeline of 20 items when the function is called <br>Great next suggest ways to improve this function to create better timelines")
1648
- with gr.Accordion("Test for config to gradio components order - ignore for now", open=False ):
1649
- gr.Markdown("Asset Generation")
1650
- gr.HTML("Splits by new line - The idea here was to allow for saving the file ")
1651
- input_text = gr.Textbox(label="Input Text", lines=10)
1652
- output_group = gr.Group()
1653
-
1654
- @gr.render(inputs=input_text)
1655
- def update(text):
1656
- return show_elements(text)
1657
- with gr.Accordion("Proto Config Assist"):
1658
- with gr.Accordion("Can copy in the Test Example State Machine tab - only linear path for now", open=False):
1659
- gr.Markdown("# Story and Timeline Generator")
1660
- gr.Markdown("Click the button to generate a random timeline and story based on UI elements and story events. <br>Ask an LLM to use this to write a story around")
1661
- with gr.Row():
1662
- game_structure_output_text_with_media = gr.Code(language="json")
1663
- game_structure_output_text = gr.Code(language="json")
1664
- with gr.Accordion("JSON with no edits"):
1665
- with gr.Row():
1666
- timeline_output_with_assets = gr.Textbox(label="Timeline with Assets Considered", lines=20)
1667
- timeline_output = gr.Textbox(label="Timeline (Order might be different for now)", lines=20)
1668
- story_output = gr.Textbox(label="Generated Story (Order might be different for now)", lines=20)
1669
- with gr.Row():
1670
- generate_no_ui_timeline_points = gr.Slider(minimum=1, value=10, step=1, maximum=30, label="Choose the amount of ui timeline points")
1671
- generate_no_media_timeline_points = gr.Slider(minimum=1, value=5, step=1, maximum=30, label="Choose the amount of media timeline points")
1672
- generate_with_media_check = gr.Checkbox(label="Generate with media", value=True)
1673
- generate_button = gr.Button("Generate Story and Timeline")
1674
-
1675
- @gr.render(inputs=game_structure_output_text_with_media)
1676
- def update(game_structure_output_text_with_media):
1677
- return show_elements_json_input(game_structure_output_text_with_media)
1678
-
1679
- generate_button.click(generate_story_and_timeline, inputs=[generate_no_ui_timeline_points, generate_no_media_timeline_points, generate_with_media_check], outputs=[timeline_output_with_assets, timeline_output, story_output, game_structure_output_text_with_media, game_structure_output_text])
1680
-
1681
- with gr.Tab("Asset First"):
1682
- gr.HTML("Make Asset and make the transitions using LLM")
1683
-
1684
- with gr.Tab("Export Options"):
1685
- gr.HTML("Placeholder - My Custom JS, Playcanvas, Unreal Engine")
1686
-
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")
@@ -1720,18 +1721,19 @@ Would you like me to elaborate on any of these ideas or show how to implement th
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")
1730
- gr.HTML("Images Generation General = https://huggingface.co/spaces/stabilityai/stable-diffusion-3-medium, https://huggingface.co/spaces/PixArt-alpha/PixArt-Sigma, https://huggingface.co/spaces/stabilityai/stable-diffusion, https://www.craiyon.com/, https://huggingface.co/spaces/prodia/sdxl-stable-diffusion-xl")
1731
  gr.HTML("Images Generation Posters with text - https://huggingface.co/spaces/GlyphByT5/Glyph-SDXL-v2")
1732
- gr.HTML("Images Generation Very Specific position and shape - https://huggingface.co/spaces/linoyts/scribble-sdxl-flash, https://huggingface.co/spaces/InstantX/InstantID (more of a scpaceoooo)")
1733
  gr.HTML("Images Generation Non-english prompt support = Chinese - https://huggingface.co/spaces/gokaygokay/Kolors")
1734
  gr.HTML("Images Generation - Change pose of the image but keep face https://huggingface.co/spaces/InstantX/InstantID")
 
1735
  gr.HTML("SVG Generation = Coding models / SOTA LLM ")
1736
  gr.HTML("Images Generation - Upscaling - https://huggingface.co/spaces/gokaygokay/Tile-Upscaler")
1737
  gr.HTML("Vision Models for descriptions <br> https://huggingface.co/spaces/gokaygokay/Florence-2 <br>https://huggingface.co/spaces/vilarin/VL-Chatbox - glm 4v 9b <br>")
@@ -1743,7 +1745,7 @@ Would you like me to elaborate on any of these ideas or show how to implement th
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)
@@ -1764,7 +1766,8 @@ Would you like me to elaborate on any of these ideas or show how to implement th
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")
@@ -1785,7 +1788,6 @@ Would you like me to elaborate on any of these ideas or show how to implement th
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"):
 
886
  }
887
  """
888
 
889
+ with gr.Accordion("Decisions Creation"):
890
+ with gr.Tab("Timeline Guide for Config Generation or evelution"):
891
+ with gr.Accordion("Empty Config shape for explaining to LLM", open=False):
892
+ gr.HTML(f"placeholder for current empty JSON config shape")
893
+ gr.HTML("Structural indicators of quality of config")
894
+ with gr.Tabs("Config Specific"):
895
+ gr.HTML("Timeline for making Timelines?")
896
+ 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)")
897
+ gr.HTML("From Nothing <br>")
898
+ gr.HTML("From Existing <br>")
899
+ with gr.Tabs("Existing Game Analysis"):
900
+ 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) ")
901
+ gr.HTML("Existing Game Rules for text - Cyberpunk RED, ")
902
+ with gr.Tabs("Multiplayer options"):
903
+ 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")
904
+ with gr.Tab("Some Workflow Helpers (Removed as built into Semi-Auto)"):
905
+ gr.HTML("Song / Random Scenario to 'full game' manual or auto is end goal ")
906
+ gr.HTML("Main Priority is to make rails for the story to work on as a simplified view of a game is a linear path with loops (gameplay mechanics) <br> Below = Manual Edit (At bottom you can save the changes and copy it to test) <br>For LLM edit copy either the Timeline")
907
+ gr.HTML("The problem is the assets generation isnt free and using spaces as api also clogs them (no way to know when ZeroGPUs are at lowest usage) so using iFrame is better for now <br> So worklfow -- Make Skeleton -- Use Iframe to get media -- then ask for details / story / gameplay loop ideas and add back to config")
908
+ with gr.Tab("Schema First"):
909
+ gr.HTML("Some Kinds of game skeletons ideas - Timelines, Graph as State machine paths, Economy ecosystem")
910
+ gr.HTML("One prompt to be used to test models - <br>Please make 10 python lists for the types of media files and their purposes in a game and then use those lists to random generate a timeline of 20 items when the function is called <br>Great next suggest ways to improve this function to create better timelines")
911
+ with gr.Accordion("Test for config to gradio components order - ignore for now", open=False ):
912
+ gr.Markdown("Asset Generation")
913
+ gr.HTML("Splits by new line - The idea here was to allow for saving the file ")
914
+ input_text = gr.Textbox(label="Input Text", lines=10)
915
+ output_group = gr.Group()
916
+
917
+ @gr.render(inputs=input_text)
918
+ def update(text):
919
+ return show_elements(text)
920
+ with gr.Accordion("Proto Config Assist"):
921
+ with gr.Accordion("Can copy in the Test Example State Machine tab - only linear path for now", open=False):
922
+ gr.Markdown("# Story and Timeline Generator")
923
+ gr.Markdown("Click the button to generate a random timeline and story based on UI elements and story events. <br>Ask an LLM to use this to write a story around")
924
+ with gr.Row():
925
+ game_structure_output_text_with_media = gr.Code(language="json")
926
+ game_structure_output_text = gr.Code(language="json")
927
+ with gr.Accordion("JSON with no edits"):
928
+ with gr.Row():
929
+ timeline_output_with_assets = gr.Textbox(label="Timeline with Assets Considered", lines=20)
930
+ timeline_output = gr.Textbox(label="Timeline (Order might be different for now)", lines=20)
931
+ story_output = gr.Textbox(label="Generated Story (Order might be different for now)", lines=20)
932
+ with gr.Row():
933
+ generate_no_ui_timeline_points = gr.Slider(minimum=1, value=10, step=1, maximum=30, label="Choose the amount of ui timeline points")
934
+ generate_no_media_timeline_points = gr.Slider(minimum=1, value=5, step=1, maximum=30, label="Choose the amount of media timeline points")
935
+ generate_with_media_check = gr.Checkbox(label="Generate with media", value=True)
936
+ generate_button = gr.Button("Generate Story and Timeline")
937
 
938
+ @gr.render(inputs=game_structure_output_text_with_media)
939
+ def update(game_structure_output_text_with_media):
940
+ return show_elements_json_input(game_structure_output_text_with_media)
941
+
942
+ generate_button.click(generate_story_and_timeline, inputs=[generate_no_ui_timeline_points, generate_no_media_timeline_points, generate_with_media_check], outputs=[timeline_output_with_assets, timeline_output, story_output, game_structure_output_text_with_media, game_structure_output_text])
943
+
944
+ with gr.Tab("Asset First"):
945
+ gr.HTML("Make Asset and make the transitions using LLM")
946
 
947
+ with gr.Tab("Export Options"):
948
+ gr.HTML("Placeholder - My Custom JS, Playcanvas, Unreal Engine")
 
 
949
 
950
+ with gr.Tab("Config Writing Considerations"):
951
+ 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")
 
952
 
 
 
953
  with gr.Accordion("Config Crafting Progression - click to open", open=False):
954
  with gr.Tab("Main areas of considerations"):
955
  with gr.Tab("Mermaid Graphs and Nesting"):
 
962
  gr.HTML("Sports Scores, ")
963
  with gr.Tab("Themes"):
964
  gr.HTML("")
 
 
 
 
 
 
 
 
 
 
 
 
 
 
965
 
966
  originalconfigatbeinningofthisspace = """{
967
  "village": {
 
1496
  </div>
1497
  </div>""")
1498
 
1499
+
1500
+ with gr.Accordion("Temporary Asset Management Assist - click to open", open=False):
1501
+ 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")
1502
+ with gr.Accordion("Upload Files for config"):
1503
+ gr.Markdown("# Media Saver and Explorer (refresh file list to be resolved - for now upload all files and reload the space - they persist as long as the space creator doesnt reset/update the space - will add manual clear options later)")
1504
+ with gr.Tab("Upload Files"):
1505
+ file_input = gr.File(label="Choose File to Upload")
1506
+ save_output = gr.Textbox(label="Upload Status")
1507
+
1508
+ with gr.Tab("File Explorer"):
1509
+
1510
+ file_explorer = gr.FileExplorer(
1511
+ root_dir=SAVE_DIR,
1512
+ glob="*.*",
1513
+ file_count="single",
1514
+ height=300,
1515
+ label="Select a file to view"
1516
+ )
1517
+ with gr.Row():
1518
+ refresh_button = gr.Button("Refresh", scale=1)
1519
+ view_button = gr.Button("View File")
1520
+ image_output = gr.Image(label="Image Output", type="pil")
1521
+ audio_output = gr.Audio(label="Audio Output")
1522
+ video_output = gr.Video(label="Video Output")
1523
+ error_output = gr.Textbox(label="Error")
1524
+
1525
+ file_input.upload(
1526
+ save_file,
1527
+ inputs=file_input,
1528
+ outputs=[save_output, file_explorer, file_input]
1529
+ )
1530
+
1531
+ view_button.click(
1532
+ view_file,
1533
+ inputs=file_explorer,
1534
+ outputs=[image_output, audio_output, video_output, error_output]
1535
+ )
1536
+
1537
+ refresh_button.click(
1538
+ refresh_file_explorer,
1539
+ outputs=file_explorer
1540
+ )
1541
+
1542
+ with gr.Tab("Batch add files to config"):
1543
+ gr.HTML("Placeholder for Config parser to allow dropdowns for the media parts of the config inserted to make assigning media quick")
1544
+ 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)")
1545
+
1546
+ gr.HTML("Placeholder for clearing uploaded assets (public space and temporary persistence = sharing and space problems)")
1547
+
1548
  with gr.Tab("Test and Edit Config"):
1549
  gr.HTML("The main issue is frequent changes add more chances for bugs in how - manual and auto refer mainly to ensuring correct JSON format ")
1550
  with gr.Tab("Full Manual - Test Example State Machine"):
 
1688
  return show_elements_json_input(ewpwacustom_config)
1689
 
1690
  ewpgenerate_button.click(generate_story_and_timeline, inputs=[ewpgenerate_no_ui_timeline_points, ewpgenerate_no_media_timeline_points, ewpgenerate_with_media_check], outputs=[ewptimeline_output_with_assets, ewptimeline_output, ewpstory_output, ewpwacustom_config, ewpgame_structure_output_text]) #ewpgame_structure_output_text_with_media, ewpgame_structure_output_text])
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1691
 
1692
  with gr.Tab("Asset Generation Considerations"):
1693
  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")
 
1721
  "--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)
1722
  imagegenspacebtn = gr.Button("Use the chosen URL to load interface with a image generation model")
1723
 
1724
+ imagegenspace = gr.HTML("Image Space Chosen will load here")
1725
  imagegenspacebtn.click(display_website, inputs=linktoimagegen, outputs=imagegenspace)
1726
 
1727
  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",
1728
  gr.HTML("Concept Art, UI elements, Static/3D Characters, Environments and Objects")
1729
  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, ")
1730
  gr.HTML("Images Generation Portraits = https://huggingface.co/spaces/okaris/omni-zero")
1731
+ gr.HTML("Images Generation General = https://huggingface.co/spaces/stabilityai/stable-diffusion-3-medium, https://huggingface.co/spaces/PixArt-alpha/PixArt-Sigma, https://huggingface.co/spaces/stabilityai/stable-diffusion, https://www.craiyon.com/")
1732
  gr.HTML("Images Generation Posters with text - https://huggingface.co/spaces/GlyphByT5/Glyph-SDXL-v2")
1733
+ gr.HTML("Images Generation Very Specific position and shape - https://huggingface.co/spaces/InstantX/InstantID (more of a scpaceoooo)")
1734
  gr.HTML("Images Generation Non-english prompt support = Chinese - https://huggingface.co/spaces/gokaygokay/Kolors")
1735
  gr.HTML("Images Generation - Change pose of the image but keep face https://huggingface.co/spaces/InstantX/InstantID")
1736
+ gr.HTML("Placeholder for huggingface spaces that can assist - https://huggingface.co/spaces/EPFL-VILAB/4M, https://huggingface.co/spaces/EPFL-VILAB/MultiMAE ")
1737
  gr.HTML("SVG Generation = Coding models / SOTA LLM ")
1738
  gr.HTML("Images Generation - Upscaling - https://huggingface.co/spaces/gokaygokay/Tile-Upscaler")
1739
  gr.HTML("Vision Models for descriptions <br> https://huggingface.co/spaces/gokaygokay/Florence-2 <br>https://huggingface.co/spaces/vilarin/VL-Chatbox - glm 4v 9b <br>")
 
1745
  with gr.Accordion("Video Spaces/Sites (Click Here to Open) - Image to Blender?", open=False):
1746
  with gr.Row():
1747
  linktovideogenspace = gr.Dropdown(choices=["--Genral--", "https://kadirnar-open-sora.hf.space",
1748
+ "--Talking Portrait--", "https://fffiloni-tts-hallo-talking-portrait.hf.space",
1749
  "--Gif--", "https://wangfuyun-animatelcm-svd.hf.space", "https://bytedance-animatediff-lightning.hf.space", "https://wangfuyun-animatelcm.hf.space", "https://guoyww-animatediff.hf.space",
1750
  "--ImgtoImg based video--"],
1751
  label="Choose/Cancel type any .hf.space link here (can also type a link)'", allow_custom_value=True)
 
1766
  with gr.Tab("Audio"):
1767
  with gr.Accordion("3D Model Spaces/Sites (Click Here to Open) - Image to Blender?", open=False):
1768
  with gr.Row():
1769
+ linktoaudiiogenspace = gr.Dropdown(choices=["General", "",
1770
+ "--Talking Portrait--","https://fffiloni-tts-hallo-talking-portrait.hf.space"],
1771
  label="Choose/Cancel type any .hf.space link here (can also type a link)'", allow_custom_value=True)
1772
  audiiogenspacebtn = gr.Button("Use the chosen URL to load interface with audio generation")
1773
  audiiogenspace = gr.HTML("Audio Space Chosen will load here")
 
1788
  ThreedModelspacebtn.click(display_website, inputs=linktoThreedModel, outputs=ThreedModelspace)
1789
  gr.HTML("Characters, Environments, Objects")
1790
  gr.HTML("Placeholder for huggingface spaces that can assist - https://huggingface.co/spaces/dylanebert/3d-arena")
 
1791
  gr.HTML("Closed Source - https://www.meshy.ai/")
1792
 
1793
  with gr.Tab("Fonts"):