cahya commited on
Commit
cef8aa0
1 Parent(s): ae5e6f4

moved examples to first column

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -80,12 +80,13 @@ with gr.Blocks() as blocks:
80
  )
81
  with gr.Row(): # mobile_collapse=False
82
  submit = gr.Button("Submit", variant="primary")
 
 
83
  with gr.Column():
84
  text_source = gr.Textbox(label="Source Language")
85
  text_target = gr.Textbox(label="Target Language")
86
  audio = gr.Audio(label="Target Audio", interactive=False)
87
- examples = gr.Examples(examples=["data/Jokowi - 2022.mp3", "data/Soekarno - 1963.mp3", "data/JFK.mp3"],
88
- label="Examples", inputs=[audio_upload])
89
  memory = psutil.virtual_memory()
90
  gr.Markdown(info)
91
  system_status = info = f"""
 
80
  )
81
  with gr.Row(): # mobile_collapse=False
82
  submit = gr.Button("Submit", variant="primary")
83
+ examples = gr.Examples(examples=["data/Jokowi - 2022.mp3", "data/Soekarno - 1963.mp3", "data/JFK.mp3"],
84
+ label="Examples", inputs=[audio_upload])
85
  with gr.Column():
86
  text_source = gr.Textbox(label="Source Language")
87
  text_target = gr.Textbox(label="Target Language")
88
  audio = gr.Audio(label="Target Audio", interactive=False)
89
+
 
90
  memory = psutil.virtual_memory()
91
  gr.Markdown(info)
92
  system_status = info = f"""