Yarik commited on
Commit
58373da
1 Parent(s): ca466ef

Add application file

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -95,7 +95,7 @@ def init_models():
95
 
96
  @app.post("/create_audio")
97
  async def tts(request: str, api_data: Auth = Depends(check_api_token)):
98
- accented_text = accentification(request)
99
  plussed_text = stress_replace_and_shift(accented_text)
100
 
101
  synt = models["lada"]
 
95
 
96
  @app.post("/create_audio")
97
  async def tts(request: str, api_data: Auth = Depends(check_api_token)):
98
+ accented_text = accentification(request, "vocab")
99
  plussed_text = stress_replace_and_shift(accented_text)
100
 
101
  synt = models["lada"]