Spaces:
Sleeping
Sleeping
Anonymous
commited on
Commit
·
673e392
1
Parent(s):
7d598c8
fix app
Browse files
app.py
CHANGED
|
@@ -256,15 +256,15 @@ with gr.Blocks(css=css) as demo:
|
|
| 256 |
"""
|
| 257 |
)
|
| 258 |
|
| 259 |
-
prompt_in = gr.Textbox(label="Prompt", placeholder="A chihuahua in astronaut suit floating in space, cinematic lighting, glow effect"
|
| 260 |
-
output_size = gr.Radio(["576x1024", "256x256"], label="Output Size", info="576x1024 is watermark-free"
|
| 261 |
submit_btn = gr.Button("Generate")
|
| 262 |
-
video_result = gr.Video(label="Video Output"
|
| 263 |
|
| 264 |
# gr.Examples(examples=examples, inputs=[prompt_in, output_size])
|
| 265 |
|
| 266 |
submit_btn.click(fn=infer,
|
| 267 |
-
inputs=[prompt_in
|
| 268 |
outputs=[video_result],
|
| 269 |
api_name="zrscp")
|
| 270 |
|
|
|
|
| 256 |
"""
|
| 257 |
)
|
| 258 |
|
| 259 |
+
prompt_in = gr.Textbox(label="Prompt", placeholder="A chihuahua in astronaut suit floating in space, cinematic lighting, glow effect")
|
| 260 |
+
output_size = gr.Radio(["576x1024", "256x256"], label="Output Size", info="576x1024 is watermark-free"),
|
| 261 |
submit_btn = gr.Button("Generate")
|
| 262 |
+
video_result = gr.Video(label="Video Output")
|
| 263 |
|
| 264 |
# gr.Examples(examples=examples, inputs=[prompt_in, output_size])
|
| 265 |
|
| 266 |
submit_btn.click(fn=infer,
|
| 267 |
+
inputs=[prompt_in],
|
| 268 |
outputs=[video_result],
|
| 269 |
api_name="zrscp")
|
| 270 |
|