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