BurhaanZargar commited on
Commit
40a60f6
·
verified ·
1 Parent(s): bf328a0

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -78,7 +78,7 @@ def process(text, speaker_id):
78
  demo = gr.Interface(
79
  fn=process,
80
  inputs=[
81
- gr.Textbox(label="Kashmiri Text", placeholder="کٲشِر زَبانہِ مَنٛز لِکھِو..."),
82
  # Added a slider so you can select the voice (0 is usually the default)
83
  gr.Slider(0, model.n_spks - 1, step=1, value=0, label="Speaker ID")
84
  ],
@@ -86,4 +86,4 @@ demo = gr.Interface(
86
  title="GAASH-Lab: Kashmiri TTS"
87
  )
88
 
89
- demo.launch()
 
78
  demo = gr.Interface(
79
  fn=process,
80
  inputs=[
81
+ gr.Textbox(label="Kashmiri Text"),
82
  # Added a slider so you can select the voice (0 is usually the default)
83
  gr.Slider(0, model.n_spks - 1, step=1, value=0, label="Speaker ID")
84
  ],
 
86
  title="GAASH-Lab: Kashmiri TTS"
87
  )
88
 
89
+ demo.launch(share=True)