Skip to content

Commit

Permalink
Merge pull request #476 from SilyNoMeta/feat/auto-lang-detection
Browse files Browse the repository at this point in the history
Add language auto-detection
  • Loading branch information
erew123 authored Jan 6, 2025
2 parents fe41105 + 53e632b commit 8e6e18f
Show file tree
Hide file tree
Showing 5 changed files with 2,623 additions and 2,576 deletions.
1 change: 1 addition & 0 deletions script.py
Original file line number Diff line number Diff line change
Expand Up @@ -3309,6 +3309,7 @@ def on_load(request: gr.Request):
gen_lang = gr.Dropdown(
value=config.api_def.api_language,
choices=[
"auto",
"ar",
"zh",
"cs",
Expand Down
1 change: 1 addition & 0 deletions system/requirements/requirements_colab.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,4 @@ piper-tts; sys_platform == "linux"
plotly==5.24.1
scipy==1.14.1
pyOpenSSL>=24.2.1
langdetect>=1.0.9
1 change: 1 addition & 0 deletions system/requirements/requirements_standalone.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,4 @@ fastapi==0.112.2
plotly==5.24.1
scipy==1.14.1
pyOpenSSL>=24.2.1
langdetect>=1.0.9
1 change: 1 addition & 0 deletions system/requirements/requirements_textgen.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,4 @@ piper-phonemize==1.1.0; sys_platform == "darwin"
plotly==5.24.1
scipy==1.14.1
pyOpenSSL>=24.2.1
langdetect>=1.0.9
Loading

0 comments on commit 8e6e18f

Please sign in to comment.