Spaces:
Sleeping
Sleeping
text
Browse files- src/webui.py +3 -3
src/webui.py
CHANGED
@@ -213,12 +213,12 @@ if __name__ == '__main__':
|
|
213 |
with gr.Accordion('Main Options'):
|
214 |
with gr.Row():
|
215 |
with gr.Column():
|
216 |
-
model_url = gr.Text(label='Voice Model URL', info='Enter the URL of the voice model zip file', value='https://huggingface.co/megaaziib/my-rvc-models-collection/resolve/main/kobo.zip')
|
217 |
model_name = gr.Text(label='Voice Model Name', info='Enter the name of the voice model', value='kobo')
|
218 |
# rvc_model = gr.Dropdown(voice_models, label='Voice Models', info='Models folder "AICoverGen --> rvc_models". After new models are added into this folder, click the refresh button')
|
219 |
|
220 |
with gr.Column() as yt_link_col:
|
221 |
-
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.', value='https://youtu.be/FRh7LvlQTuA')
|
222 |
show_file_upload_button = gr.Button('Upload file instead')
|
223 |
|
224 |
with gr.Column(visible=False) as file_upload_col:
|
@@ -228,7 +228,7 @@ if __name__ == '__main__':
|
|
228 |
song_input_file.upload(process_file_upload, inputs=[song_input_file], outputs=[local_file, song_input])
|
229 |
|
230 |
with gr.Column():
|
231 |
-
pitch = gr.Slider(-24, 24, value=0, step=1, label='Pitch Change (Vocals ONLY)', info='Generally, use 12 for male to female conversions and -12 for vice-versa. (Octaves)')
|
232 |
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)')
|
233 |
show_file_upload_button.click(swap_visibility, outputs=[file_upload_col, yt_link_col, song_input, local_file])
|
234 |
show_yt_link_button.click(swap_visibility, outputs=[yt_link_col, file_upload_col, song_input, local_file])
|
|
|
213 |
with gr.Accordion('Main Options'):
|
214 |
with gr.Row():
|
215 |
with gr.Column():
|
216 |
+
model_url = gr.Text(label='Voice Model URL', info='Enter the URL of the voice model zip file. Get voice models url from https://voice-models.com. Accepted url should be in format below', value='https://huggingface.co/megaaziib/my-rvc-models-collection/resolve/main/kobo.zip')
|
217 |
model_name = gr.Text(label='Voice Model Name', info='Enter the name of the voice model', value='kobo')
|
218 |
# rvc_model = gr.Dropdown(voice_models, label='Voice Models', info='Models folder "AICoverGen --> rvc_models". After new models are added into this folder, click the refresh button')
|
219 |
|
220 |
with gr.Column() as yt_link_col:
|
221 |
+
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. Youtube Banned Huggingface IP, use File Upload instead', value='https://youtu.be/FRh7LvlQTuA')
|
222 |
show_file_upload_button = gr.Button('Upload file instead')
|
223 |
|
224 |
with gr.Column(visible=False) as file_upload_col:
|
|
|
228 |
song_input_file.upload(process_file_upload, inputs=[song_input_file], outputs=[local_file, song_input])
|
229 |
|
230 |
with gr.Column():
|
231 |
+
pitch = gr.Slider(-24, 24, value=0, step=1, label='Pitch Change (Vocals ONLY)', info='Generally, use 12 for male to female conversions and -12 for vice-versa. (12 Points = 1 Octaves)')
|
232 |
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)')
|
233 |
show_file_upload_button.click(swap_visibility, outputs=[file_upload_col, yt_link_col, song_input, local_file])
|
234 |
show_yt_link_button.click(swap_visibility, outputs=[yt_link_col, file_upload_col, song_input, local_file])
|