File tree Expand file tree Collapse file tree 4 files changed +400
-5
lines changed
Expand file tree Collapse file tree 4 files changed +400
-5
lines changed Original file line number Diff line number Diff line change 44colorFrom : blue
55colorTo : green
66sdk : gradio
7- sdk_version : " 5.44.0 "
7+ sdk_version : " 5.44.1 "
88python_version : " 3.10"
99app_file : app.py
1010suggested_hardware : cpu-basic
Original file line number Diff line number Diff line change 1212jieba
1313plotly
1414pandas
15- gradio >= 5.25.0
16- gradio-i18n == 0.3.0
15+ gradio >= 5.44.1
1716kaleido
1817pyyaml
1918langcodes
Original file line number Diff line number Diff line change 1+ # pylint: skip-file
12import json
23import os
34import sys
45import tempfile
56
67import gradio as gr
78import pandas as pd
8- from gradio_i18n import Translate
9- from gradio_i18n import gettext as _
109
1110from webui .base import GraphGenParams
1211from webui .cache_utils import cleanup_workspace , setup_workspace
1312from webui .count_tokens import count_tokens
13+ from webui .i18n import Translate
14+ from webui .i18n import gettext as _
1415from webui .test_api import test_api_connection
1516
1617# pylint: disable=wrong-import-position
@@ -582,6 +583,7 @@ def sum_tokens(client):
582583 outputs = [output , token_counter ],
583584 )
584585
586+
585587if __name__ == "__main__" :
586588 demo .queue (api_open = False , default_concurrency_limit = 2 )
587589 demo .launch (server_name = "0.0.0.0" )
You can’t perform that action at this time.
0 commit comments