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

Update app.py

Browse files

remove the share=true

Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -46,5 +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
- # 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)
 
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
+ # Launch without share=True (as it's not supported on Hugging Face Spaces)
50
+ gr.Interface(fn=enhance_speech, inputs=inputs, outputs=outputs, title=title, description=description, article=article).launch()