Update app.py
Browse files
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="
|
| 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")
|