fffiloni commited on
Commit
480d700
·
verified ·
1 Parent(s): a746379

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -247,7 +247,7 @@ def hide_previous():
247
  css="""
248
  div#col-container{
249
  margin: 0 auto;
250
- max-width: 720px;
251
  }
252
  """
253
 
@@ -257,7 +257,7 @@ with gr.Blocks(css=css) as demo:
257
  gr.Markdown("This is a simple demo for Kyutai's Hibiki translation models • Currently supports French to English only.")
258
 
259
  with gr.Row():
260
- with gr.Column():
261
  video_input = gr.Video(label="Video IN (Optional)")
262
  audio_input = gr.Audio(label="Audio IN", type="filepath")
263
  submit_btn = gr.Button("Generate translations")
@@ -271,7 +271,7 @@ with gr.Blocks(css=css) as demo:
271
  inputs = [audio_input]
272
  )
273
 
274
- with gr.Column():
275
  output_result = gr.Audio(label="Translated result")
276
 
277
  with gr.Row():
 
247
  css="""
248
  div#col-container{
249
  margin: 0 auto;
250
+ max-width: 1600px;
251
  }
252
  """
253
 
 
257
  gr.Markdown("This is a simple demo for Kyutai's Hibiki translation models • Currently supports French to English only.")
258
 
259
  with gr.Row():
260
+ with gr.Column(scale=1):
261
  video_input = gr.Video(label="Video IN (Optional)")
262
  audio_input = gr.Audio(label="Audio IN", type="filepath")
263
  submit_btn = gr.Button("Generate translations")
 
271
  inputs = [audio_input]
272
  )
273
 
274
+ with gr.Column(scale=2):
275
  output_result = gr.Audio(label="Translated result")
276
 
277
  with gr.Row():