Skip to content

Commit 3360801

Browse files
fix(webui): replace custom i18n with gradio_i18n
1 parent 71c7ea6 commit 3360801

File tree

3 files changed

+2
-413
lines changed

3 files changed

+2
-413
lines changed

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jieba
1313
plotly
1414
pandas
1515
gradio
16+
gradio-i18n==0.3.0
1617
kaleido
1718
pyyaml
1819
langcodes

webui/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
import gradio as gr
77

8-
from i18n import Translate, gettext as _
8+
from gradio_i18n import Translate, gettext as _
99
from test_api import test_api_connection
1010

1111
# pylint: disable=wrong-import-position

0 commit comments

Comments
 (0)