remove limitation for now
This commit is contained in:
parent
1ee471ff57
commit
3cfbdce9f2
3
main.py
3
main.py
@ -2,7 +2,8 @@ import os; os.environ['no_proxy'] = '*' # 避免代理网络产生意外污染
|
||||
|
||||
def main():
|
||||
import gradio as gr
|
||||
assert gr.__version__.startswith("3.32.1"), "Please run `pip uninstall gradio` and `pip install -r requirements.txt --upgrade` to install a stable gradio fork."
|
||||
# assert gr.__version__.startswith("3.32.1") or gr.__version__.startswith("3.28.3"), \
|
||||
# "Please run `pip uninstall gradio` and `pip install -r requirements.txt --upgrade` to install a stable gradio fork."
|
||||
from request_llm.bridge_all import predict
|
||||
from toolbox import format_io, find_free_port, on_file_uploaded, on_report_generated, get_conf, ArgsGeneralWrapper, DummyWith
|
||||
# 建议您复制一个config_private.py放自己的秘密, 如API和代理网址, 避免不小心传github被别人看到
|
||||
|
Loading…
x
Reference in New Issue
Block a user