Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
from transformers import pipeline
|
3 |
|
4 |
# Load the TTS model
|
5 |
-
tts = pipeline("text-to-speech")
|
6 |
|
7 |
def text_to_speech(text):
|
8 |
# Generate speech from text
|
|
|
2 |
from transformers import pipeline
|
3 |
|
4 |
# Load the TTS model
|
5 |
+
tts = pipeline("text-to-speech", model="Nithu/text-to-speech")
|
6 |
|
7 |
def text_to_speech(text):
|
8 |
# Generate speech from text
|