Blane187 commited on
Commit
bd0e55e
1 Parent(s): 3e2defc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -5
app.py CHANGED
@@ -33,11 +33,12 @@ with gr.Blocks() as demo:
33
  with gr.Row():
34
  f0_value = gr.Dropdown(choices=["pm", "crepe", "rmvpe"], label="F0 method", value="rmvpe")
35
 
36
- with gr.Row():
37
- gr.Markdown(" get pth file from huggingface, example `https://huggingface.co/sail-rvc/hitzeed-ch/blob/main/model.pth` ")
38
- url = gr.Textbox(label=" url pth")
39
- dowoad_but = gr.Button("download")
40
- dowoad_but.click(download_pth, inputs=[url], outputs=[model_path])
 
41
 
42
  output_audio = gr.Audio(label="Output Audio")
43
  command_output = gr.Textbox(label="Command Output")
 
33
  with gr.Row():
34
  f0_value = gr.Dropdown(choices=["pm", "crepe", "rmvpe"], label="F0 method", value="rmvpe")
35
 
36
+ with gr.Accordion(" download A pth file"):
37
+ with gr.Row():
38
+ gr.Markdown(" get pth file from huggingface, example `https://huggingface.co/sail-rvc/hitzeed-ch/blob/main/model.pth` ")
39
+ url = gr.Textbox(label=" url pth")
40
+ dowoad_but = gr.Button("download")
41
+ dowoad_but.click(download_pth, inputs=[url], outputs=[model_path])
42
 
43
  output_audio = gr.Audio(label="Output Audio")
44
  command_output = gr.Textbox(label="Command Output")