Merge pull request #476 from SilyNoMeta/feat/auto-lang-detection
Add language auto-detection
This commit is contained in:
5 files changed
+2623
-2576
No files matched your search
@@ -3309,6 +3309,7 @@ if gradio_enabled is True:
|
|||||||
gen_lang = gr.Dropdown(
|
gen_lang = gr.Dropdown(
|
||||||
value=config.api_def.api_language,
|
value=config.api_def.api_language,
|
||||||
choices=[
|
choices=[
|
||||||
|
"auto",
|
||||||
"ar",
|
"ar",
|
||||||
"zh",
|
"zh",
|
||||||
"cs",
|
"cs",
|
||||||
|
|||||||
@@ -46,3 +46,4 @@ piper-tts; sys_platform == "linux"
|
|||||||
plotly==5.24.1
|
plotly==5.24.1
|
||||||
scipy==1.14.1
|
scipy==1.14.1
|
||||||
pyOpenSSL>=24.2.1
|
pyOpenSSL>=24.2.1
|
||||||
|
langdetect>=1.0.9
|
||||||
@@ -36,3 +36,4 @@ fastapi==0.112.2
|
|||||||
plotly==5.24.1
|
plotly==5.24.1
|
||||||
scipy==1.14.1
|
scipy==1.14.1
|
||||||
pyOpenSSL>=24.2.1
|
pyOpenSSL>=24.2.1
|
||||||
|
langdetect>=1.0.9
|
||||||
@@ -33,3 +33,4 @@ piper-phonemize==1.1.0; sys_platform == "darwin"
|
|||||||
plotly==5.24.1
|
plotly==5.24.1
|
||||||
scipy==1.14.1
|
scipy==1.14.1
|
||||||
pyOpenSSL>=24.2.1
|
pyOpenSSL>=24.2.1
|
||||||
|
langdetect>=1.0.9
|
||||||
+2619
-2576
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user