fix
Browse files
app.py
CHANGED
@@ -390,7 +390,7 @@ with gr.Blocks(css=css) as demo:
|
|
390 |
# We use `result` (the gr.Image component's output which is a filepath)
|
391 |
# to enable the video section.
|
392 |
lambda image_filepath: { # image_filepath will be the path from the `result` gr.Image
|
393 |
-
video_gen_accordion: gr.Accordion(open=True
|
394 |
generate_video_btn: gr.Button(interactive=True if image_filepath else False),
|
395 |
download_btn: gr.DownloadButton(value=image_filepath, visible=True if image_filepath else False),
|
396 |
},
|
|
|
390 |
# We use `result` (the gr.Image component's output which is a filepath)
|
391 |
# to enable the video section.
|
392 |
lambda image_filepath: { # image_filepath will be the path from the `result` gr.Image
|
393 |
+
video_gen_accordion: gr.Accordion(open=True),
|
394 |
generate_video_btn: gr.Button(interactive=True if image_filepath else False),
|
395 |
download_btn: gr.DownloadButton(value=image_filepath, visible=True if image_filepath else False),
|
396 |
},
|