Politrees commited on
Commit
2ff10fb
·
verified ·
1 Parent(s): 2bbb6e9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -366,7 +366,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
366
 
367
  with gr.Row():
368
  with gr.Column(scale=2):
369
- audio_file_input = gr.Files(label="Upload Audio Files", file_types=["audio"])
370
  with gr.Column(scale=1):
371
  default_audio = "mp3" if "mp3" in AUDIO_FORMATS else (AUDIO_FORMATS[0] if AUDIO_FORMATS else None)
372
  audio_format_choice = gr.Dropdown(choices=AUDIO_FORMATS, label="Output Format", value=default_audio)
@@ -388,7 +388,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
388
 
389
  with gr.Row():
390
  with gr.Column(scale=2):
391
- image_file_input = gr.Files(label="Upload Image Files", file_types=["image"])
392
  with gr.Column(scale=1):
393
  default_image = "png" if "png" in IMAGE_FORMATS else (IMAGE_FORMATS[0] if IMAGE_FORMATS else None)
394
  image_format_choice = gr.Dropdown(choices=IMAGE_FORMATS, label="Output Image Format", value=default_image)
@@ -408,7 +408,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
408
 
409
  with gr.Row():
410
  with gr.Column(scale=2):
411
- video_input = gr.File(label="Upload Video File", file_types=["video"])
412
  with gr.Column(scale=1):
413
  conversion_type_radio = gr.Radio(
414
  choices=["Video to Video", "Video to Audio"],
 
366
 
367
  with gr.Row():
368
  with gr.Column(scale=2):
369
+ audio_file_input = gr.Files(label="Upload Audio Files", file_types=["audio"], height=160)
370
  with gr.Column(scale=1):
371
  default_audio = "mp3" if "mp3" in AUDIO_FORMATS else (AUDIO_FORMATS[0] if AUDIO_FORMATS else None)
372
  audio_format_choice = gr.Dropdown(choices=AUDIO_FORMATS, label="Output Format", value=default_audio)
 
388
 
389
  with gr.Row():
390
  with gr.Column(scale=2):
391
+ image_file_input = gr.Files(label="Upload Image Files", file_types=["image"], height=160)
392
  with gr.Column(scale=1):
393
  default_image = "png" if "png" in IMAGE_FORMATS else (IMAGE_FORMATS[0] if IMAGE_FORMATS else None)
394
  image_format_choice = gr.Dropdown(choices=IMAGE_FORMATS, label="Output Image Format", value=default_image)
 
408
 
409
  with gr.Row():
410
  with gr.Column(scale=2):
411
+ video_input = gr.File(label="Upload Video File", file_types=["video"], height=160)
412
  with gr.Column(scale=1):
413
  conversion_type_radio = gr.Radio(
414
  choices=["Video to Video", "Video to Audio"],