aslanovaf commited on
Commit
1f69a93
1 Parent(s): f063868

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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"