Spaces:
Runtime error
Runtime error
Update main.py
Browse files
main.py
CHANGED
@@ -28,6 +28,7 @@ def main():
|
|
28 |
import gradio as gr
|
29 |
# if gr.__version__ not in ['3.32.9']:
|
30 |
# raise ModuleNotFoundError("使用项目内置Gradio获取最优体验! 请运行 `pip install -r requirements.txt` 指令安装内置Gradio及其他依赖, 详情信息见requirements.txt.")
|
|
|
31 |
from request_llms.bridge_all import predict
|
32 |
from toolbox import format_io, find_free_port, on_file_uploaded, on_report_generated, get_conf, ArgsGeneralWrapper, load_chat_cookies, DummyWith
|
33 |
# 建议您复制一个config_private.py放自己的秘密, 如API和代理网址
|
|
|
28 |
import gradio as gr
|
29 |
# if gr.__version__ not in ['3.32.9']:
|
30 |
# raise ModuleNotFoundError("使用项目内置Gradio获取最优体验! 请运行 `pip install -r requirements.txt` 指令安装内置Gradio及其他依赖, 详情信息见requirements.txt.")
|
31 |
+
print(gr.__version__ )
|
32 |
from request_llms.bridge_all import predict
|
33 |
from toolbox import format_io, find_free_port, on_file_uploaded, on_report_generated, get_conf, ArgsGeneralWrapper, load_chat_cookies, DummyWith
|
34 |
# 建议您复制一个config_private.py放自己的秘密, 如API和代理网址
|