phitran commited on
Commit
1ada4e6
·
1 Parent(s): ba4f990

fix input video preview issue

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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.Image(label="Input Video Preview", width=640, height=360)
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: