shujjat commited on
Commit
0876f14
1 Parent(s): 0ea0821

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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