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