Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,8 +15,8 @@ TTS_MODELS = {
|
|
| 15 |
"checkpoint": "FarmerlineML/Swahili-tts-2025_part4"
|
| 16 |
},
|
| 17 |
"Krio": {
|
| 18 |
-
"tokenizer": "
|
| 19 |
-
"checkpoint": "
|
| 20 |
},
|
| 21 |
}
|
| 22 |
|
|
@@ -77,7 +77,7 @@ examples = [
|
|
| 77 |
demo = gr.Interface(
|
| 78 |
fn=tts_generate,
|
| 79 |
inputs=[
|
| 80 |
-
gr.Dropdown(choices=list(TTS_MODELS.keys()),
|
| 81 |
gr.Textbox(lines=3, placeholder="Enter text here", label="Input Text")
|
| 82 |
],
|
| 83 |
outputs=gr.Audio(type="filepath", label="Audio", autoplay=True),
|
|
|
|
| 15 |
"checkpoint": "FarmerlineML/Swahili-tts-2025_part4"
|
| 16 |
},
|
| 17 |
"Krio": {
|
| 18 |
+
"tokenizer": "FarmerlineML/Krio-TTS",
|
| 19 |
+
"checkpoint": "FarmerlineML/Krio-TTS"
|
| 20 |
},
|
| 21 |
}
|
| 22 |
|
|
|
|
| 77 |
demo = gr.Interface(
|
| 78 |
fn=tts_generate,
|
| 79 |
inputs=[
|
| 80 |
+
gr.Dropdown(choices=list(TTS_MODELS.keys()), value="Swahili", label="Choose TTS Model"),
|
| 81 |
gr.Textbox(lines=3, placeholder="Enter text here", label="Input Text")
|
| 82 |
],
|
| 83 |
outputs=gr.Audio(type="filepath", label="Audio", autoplay=True),
|