Blane187 commited on
Commit
4030926
·
verified ·
1 Parent(s): 8866bbe

Update src/webui.py

Browse files
Files changed (1) hide show
  1. src/webui.py +2 -3
src/webui.py CHANGED
@@ -177,8 +177,7 @@ if __name__ == '__main__':
177
  ref_btn = gr.Button('Refresh Models 🔁', variant='primary')
178
 
179
  with gr.Tab("Inference"):
180
- with gr.Row():
181
-
182
  with gr.Column() as yt_link_col:
183
  song_input = gr.Text(label='Song input', info='Link to a song on YouTube or full path to a local file. For file upload, click the button below. Example: https://www.youtube.com/watch?v=M-mtdN6R3bQ')
184
  show_file_upload_button = gr.Button('Upload file instead')
@@ -194,7 +193,7 @@ if __name__ == '__main__':
194
  pitch_all = gr.Slider(-12, 12, value=0, step=1, label='Overall Pitch Change', info='Changes pitch/key of vocals and instrumentals together. Altering this slightly reduces sound quality. (Semitones)')
195
  show_file_upload_button.click(swap_visibility, outputs=[file_upload_col, yt_link_col, song_input, local_file])
196
  show_yt_link_button.click(swap_visibility, outputs=[yt_link_col, file_upload_col, song_input, local_file])
197
-
198
  with gr.Accordion('Voice conversion options', open=False):
199
  with gr.Row():
200
  index_rate = gr.Slider(0, 1, value=0.5, label='Index Rate', info="Controls how much of the AI voice's accent to keep in the vocals")
 
177
  ref_btn = gr.Button('Refresh Models 🔁', variant='primary')
178
 
179
  with gr.Tab("Inference"):
180
+ with gr.Row():
 
181
  with gr.Column() as yt_link_col:
182
  song_input = gr.Text(label='Song input', info='Link to a song on YouTube or full path to a local file. For file upload, click the button below. Example: https://www.youtube.com/watch?v=M-mtdN6R3bQ')
183
  show_file_upload_button = gr.Button('Upload file instead')
 
193
  pitch_all = gr.Slider(-12, 12, value=0, step=1, label='Overall Pitch Change', info='Changes pitch/key of vocals and instrumentals together. Altering this slightly reduces sound quality. (Semitones)')
194
  show_file_upload_button.click(swap_visibility, outputs=[file_upload_col, yt_link_col, song_input, local_file])
195
  show_yt_link_button.click(swap_visibility, outputs=[yt_link_col, file_upload_col, song_input, local_file])
196
+ with gr.Column():
197
  with gr.Accordion('Voice conversion options', open=False):
198
  with gr.Row():
199
  index_rate = gr.Slider(0, 1, value=0.5, label='Index Rate', info="Controls how much of the AI voice's accent to keep in the vocals")