pengdaqian commited on
Commit
62d9956
·
1 Parent(s): 8538175
Files changed (1) hide show
  1. app.py +12 -9
app.py CHANGED
@@ -245,17 +245,20 @@ with app:
245
  """
246
  )
247
 
248
- sid = gr.Dropdown(label="Singer", choices=["22", "33", "47", "51"], value="47")
 
249
 
250
- vc_input2 = gr.Textbox(label="Music Name")
251
- vc_search = gr.Button("Auto Search", variant="primary")
252
- vc_input3 = gr.Audio(label="Upload Music Yourself")
253
 
254
- vc_search.click(auto_search, [vc_input2], [vc_input3])
255
 
256
- vc_submit = gr.Button("Convert", variant="primary")
257
- vc_output1 = gr.Textbox(label="Run Status")
258
- vc_output2 = gr.Audio(label="Result Audio")
259
- vc_submit.click(svc_main, [sid, vc_input3], [vc_output1, vc_output2])
 
 
260
 
261
  app.launch()
 
245
  """
246
  )
247
 
248
+ with gr.Column():
249
+ sid = gr.Dropdown(label="Singer", choices=["22", "33", "47", "51"], value="47")
250
 
251
+ vc_input2 = gr.Textbox(label="Music Name")
252
+ vc_search = gr.Button("Auto Search", variant="primary")
253
+ vc_input3 = gr.Audio(label="Upload Music Yourself")
254
 
255
+ vc_search.click(auto_search, [vc_input2], [vc_input3])
256
 
257
+ vc_submit = gr.Button("Convert", variant="primary")
258
+
259
+ with gr.Column():
260
+ vc_output1 = gr.Textbox(label="Run Status")
261
+ vc_output2 = gr.Audio(label="Result Audio")
262
+ vc_submit.click(svc_main, [sid, vc_input3], [vc_output1, vc_output2])
263
 
264
  app.launch()