Spaces:
Running
on
T4
Running
on
T4
github-actions[bot]
commited on
Commit
·
623b3b9
1
Parent(s):
f63a450
Sync with https://github.com/mozilla-ai/document-to-podcast
Browse files
app.py
CHANGED
@@ -30,7 +30,7 @@ def load_text_to_text_model():
|
|
30 |
@st.cache_resource
|
31 |
def load_text_to_speech_model():
|
32 |
if os.environ.get("HF_SPACE") == "TRUE":
|
33 |
-
return load_tts_model("hexgrad/
|
34 |
else:
|
35 |
return load_tts_model("OuteAI/OuteTTS-0.2-500M-GGUF/OuteTTS-0.2-500M-FP16.gguf")
|
36 |
|
@@ -137,7 +137,7 @@ if "clean_text" in st.session_state:
|
|
137 |
]
|
138 |
else:
|
139 |
tts_link = "- [OuteAI/OuteTTS-0.2-500M](https://huggingface.co/OuteAI/OuteTTS-0.2-500M-GGUF)"
|
140 |
-
|
141 |
|
142 |
st.markdown(
|
143 |
"For this demo, we are using the following models: \n"
|
|
|
30 |
@st.cache_resource
|
31 |
def load_text_to_speech_model():
|
32 |
if os.environ.get("HF_SPACE") == "TRUE":
|
33 |
+
return load_tts_model("hexgrad/kLegacy/v0.19/kokoro-v0_19.pth")
|
34 |
else:
|
35 |
return load_tts_model("OuteAI/OuteTTS-0.2-500M-GGUF/OuteTTS-0.2-500M-FP16.gguf")
|
36 |
|
|
|
137 |
]
|
138 |
else:
|
139 |
tts_link = "- [OuteAI/OuteTTS-0.2-500M](https://huggingface.co/OuteAI/OuteTTS-0.2-500M-GGUF)"
|
140 |
+
SPEAKERS = DEFAULT_SPEAKERS
|
141 |
|
142 |
st.markdown(
|
143 |
"For this demo, we are using the following models: \n"
|