Ubuntu commited on
Commit
452458c
·
1 Parent(s): d1d869e

split the input the parameter display

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -178,6 +178,8 @@ with gr.Blocks() as demo:
178
  with gr.Row():
179
  user_audio_input = gr.Audio(sources=["microphone", "upload"], type="filepath")
180
  user_youtube_url = gr.Textbox(label="YouTube URL (optional)")
 
 
181
  user_source_lang = gr.Dropdown(choices=["en", "ma", "ta", "zh"], label="Source Language", value="en")
182
  user_target_lang = gr.Dropdown(choices=["en", "ma", "ta", "zh"], label="Target Language", value="zh")
183
  user_target_speaker = gr.Dropdown(choices=AVAILABLE_SPEAKERS['zh'], label="Target Speaker", value="childChinese2")
 
178
  with gr.Row():
179
  user_audio_input = gr.Audio(sources=["microphone", "upload"], type="filepath")
180
  user_youtube_url = gr.Textbox(label="YouTube URL (optional)")
181
+
182
+ with gr.Row():
183
  user_source_lang = gr.Dropdown(choices=["en", "ma", "ta", "zh"], label="Source Language", value="en")
184
  user_target_lang = gr.Dropdown(choices=["en", "ma", "ta", "zh"], label="Target Language", value="zh")
185
  user_target_speaker = gr.Dropdown(choices=AVAILABLE_SPEAKERS['zh'], label="Target Speaker", value="childChinese2")