m6011 commited on
Commit
e2e4659
1 Parent(s): 252bf62

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -1,5 +1,3 @@
1
- # app.py
2
-
3
  import gradio as gr
4
  import torch
5
  from espnet2.bin.tts_inference import Text2Speech
@@ -36,4 +34,4 @@ def tts_najdi(text):
36
 
37
  # واجهة Gradio
38
  iface = gr.Interface(fn=tts_najdi, inputs="text", outputs="audio", title="Najdi TTS Model")
39
- iface.launch()
 
 
 
1
  import gradio as gr
2
  import torch
3
  from espnet2.bin.tts_inference import Text2Speech
 
34
 
35
  # واجهة Gradio
36
  iface = gr.Interface(fn=tts_najdi, inputs="text", outputs="audio", title="Najdi TTS Model")
37
+ iface.launch(server_name="0.0.0.0", server_port=7860)