Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -416,7 +416,7 @@ def create_demo():
|
|
| 416 |
with gr.Row():
|
| 417 |
with gr.Column(scale=1):
|
| 418 |
preview_image = gr.Image(label="Preview Image", type="filepath", elem_classes="preview_media", visible=False)
|
| 419 |
-
preview_video = gr.Video(label="Preview Video", elem_classes="preview_media", visible=False, format="mp4"
|
| 420 |
preview_status = gr.Textbox(label="Preview status", interactive=False, lines=2, value="", visible=True)
|
| 421 |
with gr.Column(scale=2):
|
| 422 |
url_input = gr.Textbox(label="Image / Video URL", placeholder="https://...", lines=1)
|
|
|
|
| 416 |
with gr.Row():
|
| 417 |
with gr.Column(scale=1):
|
| 418 |
preview_image = gr.Image(label="Preview Image", type="filepath", elem_classes="preview_media", visible=False)
|
| 419 |
+
preview_video = gr.Video(label="Preview Video", elem_classes="preview_media", visible=False, format="mp4")
|
| 420 |
preview_status = gr.Textbox(label="Preview status", interactive=False, lines=2, value="", visible=True)
|
| 421 |
with gr.Column(scale=2):
|
| 422 |
url_input = gr.Textbox(label="Image / Video URL", placeholder="https://...", lines=1)
|