pm6six commited on
Commit
571c406
·
verified ·
1 Parent(s): 569b020

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import streamlit as st
2
  from transformers import pipeline
3
 
4
  # Initialize text-to-speech model (small lightweight model)
5
- tts_model = pipeline("text-to-speech", model="espnet/kan-bayashi_ljspeech_vits")
6
 
7
  # Streamlit app UI
8
  st.title("Text-to-Audio App")
 
2
  from transformers import pipeline
3
 
4
  # Initialize text-to-speech model (small lightweight model)
5
+ tts_model = pipeline("text-to-speech", model="facebook/fastspeech2-en-ljspeech")
6
 
7
  # Streamlit app UI
8
  st.title("Text-to-Audio App")