Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -88,13 +88,13 @@ def vc_fn(input_audio,vc_transform,vcid):
|
|
| 88 |
return "Success", (hps.data.sampling_rate, audio)
|
| 89 |
|
| 90 |
|
| 91 |
-
gradio.inputs.Number(vcid, default=0, label=speakerID, optional=False)
|
| 92 |
app = gr.Blocks()
|
| 93 |
with app:
|
| 94 |
with gr.Tabs():
|
| 95 |
with gr.TabItem("Basic"):
|
| 96 |
vc_input3 = gr.Audio(label="Input Audio (30s limitation)")
|
| 97 |
vc_transform = gr.Number(label="transform",value=1.0)
|
|
|
|
| 98 |
vc_submit = gr.Button("Convert", variant="primary")
|
| 99 |
vc_output1 = gr.Textbox(label="Output Message")
|
| 100 |
vc_output2 = gr.Audio(label="Output Audio")
|
|
|
|
| 88 |
return "Success", (hps.data.sampling_rate, audio)
|
| 89 |
|
| 90 |
|
|
|
|
| 91 |
app = gr.Blocks()
|
| 92 |
with app:
|
| 93 |
with gr.Tabs():
|
| 94 |
with gr.TabItem("Basic"):
|
| 95 |
vc_input3 = gr.Audio(label="Input Audio (30s limitation)")
|
| 96 |
vc_transform = gr.Number(label="transform",value=1.0)
|
| 97 |
+
vcid=gr.Textbox(vcid, default=0, label=speakerID)
|
| 98 |
vc_submit = gr.Button("Convert", variant="primary")
|
| 99 |
vc_output1 = gr.Textbox(label="Output Message")
|
| 100 |
vc_output2 = gr.Audio(label="Output Audio")
|