Shokoufehhh commited on
Commit
1df812a
·
verified ·
1 Parent(s): bdb6197

Update app.py

Browse files

I had to add the share=True in the launch() method to have my space working again. it took so much time to restart every time

Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -46,4 +46,5 @@ title = "Speech Enhancement using SGMSE"
46
  description = "This Gradio demo uses the SGMSE model for speech enhancement. Upload your audio file to enhance it."
47
  article = "<p style='text-align: center'><a href='https://huggingface.co/SP-UHH/speech-enhancement-sgmse' target='_blank'>Model Card</a></p>"
48
 
49
- gr.Interface(fn=enhance_speech, inputs=inputs, outputs=outputs, title=title, description=description, article=article).launch()
 
 
46
  description = "This Gradio demo uses the SGMSE model for speech enhancement. Upload your audio file to enhance it."
47
  article = "<p style='text-align: center'><a href='https://huggingface.co/SP-UHH/speech-enhancement-sgmse' target='_blank'>Model Card</a></p>"
48
 
49
+ # Add share=True to launch method
50
+ gr.Interface(fn=enhance_speech, inputs=inputs, outputs=outputs, title=title, description=description, article=article).launch(share=True)