Spaces:
Runtime error
Runtime error
add packages
Browse files- app.py +0 -19
- packages.txt +3 -0
app.py
CHANGED
|
@@ -279,25 +279,6 @@ if __name__ == '__main__':
|
|
| 279 |
protect, f0_method, crepe_hop_length, pitch_all, reverb_rm_size, reverb_wet,
|
| 280 |
reverb_dry, reverb_damping, output_format, ai_cover])
|
| 281 |
|
| 282 |
-
# Upload tab
|
| 283 |
-
with gr.Tab('Upload model'):
|
| 284 |
-
gr.Markdown('## Upload locally trained RVC v2 model and index file')
|
| 285 |
-
gr.Markdown('- Find model file (weights folder) and optional index file (logs/[name] folder)')
|
| 286 |
-
gr.Markdown('- Compress files into zip file')
|
| 287 |
-
gr.Markdown('- Upload zip file and give unique name for voice')
|
| 288 |
-
gr.Markdown('- Click Upload model')
|
| 289 |
-
|
| 290 |
-
with gr.Row():
|
| 291 |
-
with gr.Column():
|
| 292 |
-
zip_file = gr.File(label='Zip file')
|
| 293 |
-
|
| 294 |
-
local_model_name = gr.Text(label='Model name')
|
| 295 |
-
|
| 296 |
-
with gr.Row():
|
| 297 |
-
model_upload_button = gr.Button('Upload model', variant='primary', scale=19)
|
| 298 |
-
local_upload_output_message = gr.Text(label='Output Message', interactive=False, scale=20)
|
| 299 |
-
model_upload_button.click(upload_local_model, inputs=[zip_file, local_model_name], outputs=local_upload_output_message)
|
| 300 |
-
|
| 301 |
app.launch(
|
| 302 |
share=args.share_enabled,
|
| 303 |
server_name=None if not args.listen else (args.listen_host or '0.0.0.0'),
|
|
|
|
| 279 |
protect, f0_method, crepe_hop_length, pitch_all, reverb_rm_size, reverb_wet,
|
| 280 |
reverb_dry, reverb_damping, output_format, ai_cover])
|
| 281 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 282 |
app.launch(
|
| 283 |
share=args.share_enabled,
|
| 284 |
server_name=None if not args.listen else (args.listen_host or '0.0.0.0'),
|
packages.txt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
aria2
|
| 2 |
+
ffmpeg
|
| 3 |
+
sox
|