Gregniuki commited on
Commit
e739f50
·
verified ·
1 Parent(s): cc5a13c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -85,6 +85,7 @@ ode_method = "euler"
85
  sway_sampling_coef = -1.0
86
  speed = 1
87
  fix_duration = None
 
88
 
89
 
90
  DEFAULT_TTS_MODEL = "F5-TTS"
@@ -205,7 +206,7 @@ def chunk_text(text, max_chars):
205
  return chunks
206
 
207
 
208
- def text_to_ipa(text, language='en'):
209
  try:
210
  ipa_text = phonemize(
211
  text,
 
85
  sway_sampling_coef = -1.0
86
  speed = 1
87
  fix_duration = None
88
+ language = "en"
89
 
90
 
91
  DEFAULT_TTS_MODEL = "F5-TTS"
 
206
  return chunks
207
 
208
 
209
+ def text_to_ipa(text, language=language):
210
  try:
211
  ipa_text = phonemize(
212
  text,