Spaces:
Running
Running
Thorsten-Voice
commited on
Commit
•
3f23704
1
Parent(s):
000acfd
Small adjustments.
Browse files
app.py
CHANGED
@@ -9,8 +9,9 @@ from TTS.utils.synthesizer import Synthesizer
|
|
9 |
st.title("Thorsten-Voice - einfach ausprobieren")
|
10 |
st.markdown("* 🇩🇪 Eine qualititativ hochwertige, deutsche, künstliche Stimme, die offline erzeugt werden kann, sollte jedem Projekt kostenlos und ohne lizenzrechtliche Einschränkungen zur Verfügung stehen.")
|
11 |
st.markdown("* 🇺🇸 A high-quality German artificial voice that can be generated offline should be available to any project free of charge and without any licensing restrictions.")
|
12 |
-
st.markdown("* Ein ⭐ ist gerne gesehen
|
13 |
-
st.markdown("*
|
|
|
14 |
|
15 |
text = st.text_area("Zu sprechender Text",max_chars=250)
|
16 |
model = st.radio("Welches Thorsten-Voice Modell möchtest Du testen?",
|
@@ -25,13 +26,13 @@ if text:
|
|
25 |
model_path, config_path, model_item = manager.download_model("tts_models/de/thorsten/vits")
|
26 |
code = '''pip install tts==0.8.0
|
27 |
tts-server --model_name tts_models/de/thorsten/vits
|
28 |
-
http://localhost:5002'''
|
29 |
|
30 |
if model == "Thorsten-DDC":
|
31 |
model_path, config_path, model_item = manager.download_model("tts_models/de/thorsten/tacotron2-DDC")
|
32 |
code = '''pip install tts==0.8.0
|
33 |
tts-server --model_name tts_models/de/thorsten/tacotron2-DDC
|
34 |
-
http://localhost:5002'''
|
35 |
|
36 |
vocoder_name: Optional[str] = model_item["default_vocoder"]
|
37 |
vocoder_path = None
|
@@ -53,6 +54,4 @@ http://localhost:5002'''
|
|
53 |
|
54 |
st.header("Thorsten-Voice lokal ausführen:")
|
55 |
st.code(code, language='shell')
|
56 |
-
|
57 |
-
# TODO: st.write("Mit diesen Kommandos kannst Du die Stimme lokal nutzen")
|
58 |
|
|
|
9 |
st.title("Thorsten-Voice - einfach ausprobieren")
|
10 |
st.markdown("* 🇩🇪 Eine qualititativ hochwertige, deutsche, künstliche Stimme, die offline erzeugt werden kann, sollte jedem Projekt kostenlos und ohne lizenzrechtliche Einschränkungen zur Verfügung stehen.")
|
11 |
st.markdown("* 🇺🇸 A high-quality German artificial voice that can be generated offline should be available to any project free of charge and without any licensing restrictions.")
|
12 |
+
st.markdown("* Ein ⭐ ist gerne gesehen: https://github.com/thorstenMueller/Thorsten-Voice")
|
13 |
+
st.markdown("* **Danke für's Abonnieren 😊: https://www.youtube.com/@ThorstenMueller**")
|
14 |
+
st.markdown("* Die Webseite des Projektes lautet: https://www.Thorsten-Voice.de")
|
15 |
|
16 |
text = st.text_area("Zu sprechender Text",max_chars=250)
|
17 |
model = st.radio("Welches Thorsten-Voice Modell möchtest Du testen?",
|
|
|
26 |
model_path, config_path, model_item = manager.download_model("tts_models/de/thorsten/vits")
|
27 |
code = '''pip install tts==0.8.0
|
28 |
tts-server --model_name tts_models/de/thorsten/vits
|
29 |
+
http://localhost:5002 im Browser öffnen'''
|
30 |
|
31 |
if model == "Thorsten-DDC":
|
32 |
model_path, config_path, model_item = manager.download_model("tts_models/de/thorsten/tacotron2-DDC")
|
33 |
code = '''pip install tts==0.8.0
|
34 |
tts-server --model_name tts_models/de/thorsten/tacotron2-DDC
|
35 |
+
http://localhost:5002 im Browser öffnen'''
|
36 |
|
37 |
vocoder_name: Optional[str] = model_item["default_vocoder"]
|
38 |
vocoder_path = None
|
|
|
54 |
|
55 |
st.header("Thorsten-Voice lokal ausführen:")
|
56 |
st.code(code, language='shell')
|
|
|
|
|
57 |
|