fix input video preview issue
Browse files
app.py
CHANGED
|
@@ -84,9 +84,9 @@ with gr.Blocks() as demo:
|
|
| 84 |
status_output = gr.Textbox(label="Status", interactive=False)
|
| 85 |
with gr.Row():
|
| 86 |
with gr.Column():
|
| 87 |
-
input_video_preview = gr.
|
| 88 |
with gr.Column():
|
| 89 |
-
video_output = gr.Video(label="Short Video (9:16)", width=360, height=640)
|
| 90 |
|
| 91 |
def update_preview(video_path):
|
| 92 |
if video_path is None:
|
|
|
|
| 84 |
status_output = gr.Textbox(label="Status", interactive=False)
|
| 85 |
with gr.Row():
|
| 86 |
with gr.Column():
|
| 87 |
+
input_video_preview = gr.Video(label="Input Video (16:9) Preview", width=640, height=360)
|
| 88 |
with gr.Column():
|
| 89 |
+
video_output = gr.Video(label="Short Video (9:16) Generated", width=360, height=640)
|
| 90 |
|
| 91 |
def update_preview(video_path):
|
| 92 |
if video_path is None:
|