Kangarroar commited on
Commit
40faeba
1 Parent(s): 5e731ab

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -1,7 +1,6 @@
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,10 +11,10 @@ with demo:
12
  </p>
13
  """
14
  )
15
- gr.File(label= 'Load your CKPT', "file")
16
 
17
  audio_file = gr.Audio(label = 'Load your WAV', type="filepath")
18
  gr.Slider(2, 20, value=4)
19
  b1 = gr.Button("Render")
20
  #b1.click(speech_to_text, inputs=audio_file, outputs=text)
21
- demo.launch(share=True)
 
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
  </p>
12
  """
13
  )
14
+ gr.File(label = 'Load your CKPT')
15
 
16
  audio_file = gr.Audio(label = 'Load your WAV', type="filepath")
17
  gr.Slider(2, 20, value=4)
18
  b1 = gr.Button("Render")
19
  #b1.click(speech_to_text, inputs=audio_file, outputs=text)
20
+ demo.launch()