Update app.py
Browse files
app.py
CHANGED
@@ -123,7 +123,7 @@ st.header('A text-to-speech (TTS) model in Azerbaijani language')
|
|
123 |
with st.form("my_form"):
|
124 |
option = st.selectbox(
|
125 |
'Choose the model.',
|
126 |
-
('VITS Model 1','VITS Model 2'))
|
127 |
|
128 |
text = st.text_area("Text to generate audio from:",max_chars=500)
|
129 |
# Default parameter values
|
@@ -138,7 +138,7 @@ with st.form("my_form"):
|
|
138 |
SPEAKER_ID = "0"
|
139 |
|
140 |
match option:
|
141 |
-
case "VITS Model 1":
|
142 |
MODEL = "last2.onnx"
|
143 |
case "VITS Model 2":
|
144 |
MODEL = "last.onnx"
|
|
|
123 |
with st.form("my_form"):
|
124 |
option = st.selectbox(
|
125 |
'Choose the model.',
|
126 |
+
('VITS Model 1 (more training)','VITS Model 2'))
|
127 |
|
128 |
text = st.text_area("Text to generate audio from:",max_chars=500)
|
129 |
# Default parameter values
|
|
|
138 |
SPEAKER_ID = "0"
|
139 |
|
140 |
match option:
|
141 |
+
case "VITS Model 1 (more training)":
|
142 |
MODEL = "last2.onnx"
|
143 |
case "VITS Model 2":
|
144 |
MODEL = "last.onnx"
|