Spaces:
Configuration error
Configuration error
Commit
·
23346f7
1
Parent(s):
40faeba
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,6 +1,7 @@
|
|
| 1 |
import gradio as gr
|
|
|
|
|
|
|
| 2 |
demo = gr.Blocks()
|
| 3 |
-
|
| 4 |
with demo:
|
| 5 |
gr.Markdown("# **<p align='center'>DIFF-SVC Inference</p>**")
|
| 6 |
|
|
@@ -11,7 +12,7 @@ with demo:
|
|
| 11 |
</p>
|
| 12 |
"""
|
| 13 |
)
|
| 14 |
-
gr.File(label
|
| 15 |
|
| 16 |
audio_file = gr.Audio(label = 'Load your WAV', type="filepath")
|
| 17 |
gr.Slider(2, 20, value=4)
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
+
def segment(audio):
|
| 3 |
+
pass # Implement your image segmentation model here...
|
| 4 |
demo = gr.Blocks()
|
|
|
|
| 5 |
with demo:
|
| 6 |
gr.Markdown("# **<p align='center'>DIFF-SVC Inference</p>**")
|
| 7 |
|
|
|
|
| 12 |
</p>
|
| 13 |
"""
|
| 14 |
)
|
| 15 |
+
gr.File(label= 'Load your CKPT')
|
| 16 |
|
| 17 |
audio_file = gr.Audio(label = 'Load your WAV', type="filepath")
|
| 18 |
gr.Slider(2, 20, value=4)
|