kwabs22 commited on
Commit
c6fa314
1 Parent(s): 73be982

Planning sections

Browse files
Files changed (1) hide show
  1. app.py +55 -2
app.py CHANGED
@@ -33,7 +33,8 @@ def add_target(targets_items, name, x, y, collisionType, collisiontext):
33
  return targets_items
34
 
35
  with gr.Blocks() as demo:
36
- gr.HTML("Companion Space for zerogpu workflow planning for a way to send a zip to the Basic Game Engine at the bottom of https://huggingface.co/spaces/KwabsHug/TestSvelteStatic")
 
37
  gr.HTML("Some conderations for future integration: https://huggingface.co/spaces/dylanebert/3d-arena, https://github.com/fudan-generative-vision/hallo")
38
  with gr.Tab("Config Creator"):
39
  inventory_items = gr.State([])
@@ -72,6 +73,15 @@ with gr.Blocks() as demo:
72
  add_target_button = gr.Button("Add Target")
73
  targets_textbox = gr.JSON(label="Targets", value=[])
74
 
 
 
 
 
 
 
 
 
 
75
  config_output = gr.JSON(label="Updated Configuration")
76
 
77
  @gr.render(inputs=[inventory_items, skills_items, objectives_items, targets_items]) #, outputs=config_output)
@@ -95,7 +105,50 @@ with gr.Blocks() as demo:
95
  add_target_button.click(add_target, inputs=[targets_items, targets_name, targets_x, targets_y, targets_collisionType, targets_collisiontext], outputs=targets_textbox)
96
  add_target_button.click(aggregate_config, inputs=[inventory_items, skills_items, objectives_items, targets_items], outputs=config_output)
97
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
98
  with gr.Tab("Other Considerations"):
99
- gr.HTML("Useful Spaces and links")
 
 
 
 
 
 
 
 
 
 
100
 
101
  demo.launch()
 
33
  return targets_items
34
 
35
  with gr.Blocks() as demo:
36
+ gr.HTML("Companion Space for zerogpu / client api workflow planning for a way to send a zip to the Basic Game Engine at the bottom of https://huggingface.co/spaces/KwabsHug/TestSvelteStatic")
37
+ gr.HTML("Experiment for https://huggingface.co/spaces/ysharma/open-interpreter/blob/main/app.py inplementation with gradio client api")
38
  gr.HTML("Some conderations for future integration: https://huggingface.co/spaces/dylanebert/3d-arena, https://github.com/fudan-generative-vision/hallo")
39
  with gr.Tab("Config Creator"):
40
  inventory_items = gr.State([])
 
73
  add_target_button = gr.Button("Add Target")
74
  targets_textbox = gr.JSON(label="Targets", value=[])
75
 
76
+ with gr.TabItem("Placeholders for Modal Target"):
77
+ gr.HTML("Placeholder")
78
+
79
+ with gr.TabItem("Placeholders for State Machine Modal Target"):
80
+ gr.HTML("Placeholder")
81
+
82
+ with gr.TabItem("Placeholders for Background"):
83
+ gr.HTML("Placeholder")
84
+
85
  config_output = gr.JSON(label="Updated Configuration")
86
 
87
  @gr.render(inputs=[inventory_items, skills_items, objectives_items, targets_items]) #, outputs=config_output)
 
105
  add_target_button.click(add_target, inputs=[targets_items, targets_name, targets_x, targets_y, targets_collisionType, targets_collisiontext], outputs=targets_textbox)
106
  add_target_button.click(aggregate_config, inputs=[inventory_items, skills_items, objectives_items, targets_items], outputs=config_output)
107
 
108
+ with gr.Tab("Skeleton and Asset Generation"):
109
+ gr.HTML("With some ideas from gemini-1.5-flash-api-0514 and reka-flash-preview-20240611")
110
+ with gr.Tab("Skeleton Generator"):
111
+ gr.HTML("Some Kinds of game skeletons ideas - Timelines, Graph as State machine paths")
112
+ gr.HTML("")
113
+
114
+ with gr.Tab("Save files"):
115
+ gr.HTML("")
116
+
117
+ with gr.Tab("Images"):
118
+ gr.HTML("")
119
+ gr.HTML("Images = https://huggingface.co/spaces/microsoft/Promptist ")
120
+
121
+ with gr.Tab("Audio"):
122
+ 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>")
123
+ gr.HTML("Placeholder for huggingface spaces that can assist")
124
+
125
+ with gr.Tab("Video"):
126
+ gr.HTML("")
127
+
128
+ with gr.Tab("3D"):
129
+ gr.HTML("")
130
+
131
+ with gr.Tab("Animations"):
132
+ gr.HTML("")
133
+
134
+ with gr.Tab("Fonts"):
135
+ gr.HTML("")
136
+
137
+ with gr.Tab("Shaders and related"):
138
+ gr.HTML("")
139
+
140
+
141
  with gr.Tab("Other Considerations"):
142
+ with gr.Tab("General"):
143
+ gr.HTML("Useful Spaces and links: https://huggingface.co/spaces/artificialguybr/Stable-Audio-Open-Zero https://huggingface.co/spaces/stabilityai/TripoSR https://huggingface.co/spaces/wangfuyun/AnimateLCM-SVD https://huggingface.co/spaces/multimodalart/face-to-all https://huggingface.co/spaces/facebook/MusicGen https://huggingface.co/spaces/Doubiiu/tooncrafter")
144
+
145
+ gr.HTML("https://huggingface.co/spaces/linoyts/scribble-sdxl-flash as map planner")
146
+
147
+ gr.HTML("---------------------------------------Gameplay Ideas-------------------------------")
148
+ gr.HTML("https://huggingface.co/spaces/Lin-Chen/ShareCaptioner-Video - game use example police questions a event with multiple eye witnesses needs to give as close to the caption description to win")
149
+ with gr.Tab("Backend and/or Hosting?"):
150
+ gr.HTML("Prototyping and freemium <br>free api <br>HF Pro subscription")
151
+ gr.HTML("GPU (Data privacy) = No Rate limits? - https://lambdalabs.com/service/gpu-cloud https://huggingface.co/pricing#endpoints")
152
+ gr.HTML("Speed - Groq, SambaNova, ")
153
 
154
  demo.launch()