Spaces:
Running
Running
Update Gradio app with multiple files
Browse files
app.py
CHANGED
|
@@ -211,8 +211,7 @@ def create_ui():
|
|
| 211 |
generate_btn.click(
|
| 212 |
fn=generate_with_auth,
|
| 213 |
inputs=[prompt_input],
|
| 214 |
-
outputs=[video_output, status_output]
|
| 215 |
-
queue=False
|
| 216 |
)
|
| 217 |
|
| 218 |
# Image -> Video UI
|
|
@@ -238,8 +237,7 @@ def create_ui():
|
|
| 238 |
generate_img_btn.click(
|
| 239 |
fn=generate_with_auth_image,
|
| 240 |
inputs=[img_prompt_input, image_input],
|
| 241 |
-
outputs=[video_output_img, status_output_img]
|
| 242 |
-
queue=False
|
| 243 |
)
|
| 244 |
|
| 245 |
# Example usage guidance
|
|
@@ -251,7 +249,6 @@ def create_ui():
|
|
| 251 |
outputs=video_output,
|
| 252 |
fn=generate_video, # Examples use the original function
|
| 253 |
cache_examples=False,
|
| 254 |
-
api_name=False,
|
| 255 |
show_api=False,
|
| 256 |
)
|
| 257 |
|
|
|
|
| 211 |
generate_btn.click(
|
| 212 |
fn=generate_with_auth,
|
| 213 |
inputs=[prompt_input],
|
| 214 |
+
outputs=[video_output, status_output]
|
|
|
|
| 215 |
)
|
| 216 |
|
| 217 |
# Image -> Video UI
|
|
|
|
| 237 |
generate_img_btn.click(
|
| 238 |
fn=generate_with_auth_image,
|
| 239 |
inputs=[img_prompt_input, image_input],
|
| 240 |
+
outputs=[video_output_img, status_output_img]
|
|
|
|
| 241 |
)
|
| 242 |
|
| 243 |
# Example usage guidance
|
|
|
|
| 249 |
outputs=video_output,
|
| 250 |
fn=generate_video, # Examples use the original function
|
| 251 |
cache_examples=False,
|
|
|
|
| 252 |
show_api=False,
|
| 253 |
)
|
| 254 |
|