Upload folder using huggingface_hub
Browse files
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"
|
| 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)
|