Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -296,16 +296,6 @@ with demo:
|
|
296 |
##### Step 2. Choice method to render output (Fast: Sketch skeleton; Slow: SMPL mesh, only work with GPU and running time around 2 mins)
|
297 |
##### Step 3. Generate output and enjoy
|
298 |
''')
|
299 |
-
with gr.Row():
|
300 |
-
gr.Markdown('''
|
301 |
-
### You can test by following examples:
|
302 |
-
''')
|
303 |
-
examples = gr.Examples(examples=
|
304 |
-
[ "a person jogs in place, slowly at first, then increases speed. they then back up and squat down.",
|
305 |
-
"a man steps forward and does a handstand",
|
306 |
-
"a man rises from the ground, walks in a circle and sits back down on the ground"],
|
307 |
-
label="Examples", inputs=[text_prompt])
|
308 |
-
|
309 |
with gr.Column():
|
310 |
with gr.Row():
|
311 |
text_prompt.render()
|
@@ -316,5 +306,14 @@ with demo:
|
|
316 |
print(video_out)
|
317 |
with gr.Row():
|
318 |
video_out.render()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
319 |
|
320 |
demo.launch(debug=True)
|
|
|
296 |
##### Step 2. Choice method to render output (Fast: Sketch skeleton; Slow: SMPL mesh, only work with GPU and running time around 2 mins)
|
297 |
##### Step 3. Generate output and enjoy
|
298 |
''')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
299 |
with gr.Column():
|
300 |
with gr.Row():
|
301 |
text_prompt.render()
|
|
|
306 |
print(video_out)
|
307 |
with gr.Row():
|
308 |
video_out.render()
|
309 |
+
with gr.Row():
|
310 |
+
gr.Markdown('''
|
311 |
+
### You can test by following examples:
|
312 |
+
''')
|
313 |
+
examples = gr.Examples(examples=
|
314 |
+
[ "a person jogs in place, slowly at first, then increases speed. they then back up and squat down.",
|
315 |
+
"a man steps forward and does a handstand",
|
316 |
+
"a man rises from the ground, walks in a circle and sits back down on the ground"],
|
317 |
+
label="Examples", inputs=[text_prompt])
|
318 |
|
319 |
demo.launch(debug=True)
|