qingxu98 commited on
Commit
94425c4
1 Parent(s): e874a16
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import os; os.environ['no_proxy'] = '*' # 避免代理网络产生意外污染
2
 
3
  def main():
4
  import subprocess, sys
5
- subprocess.check_call([sys.executable, '-m', 'pip', 'install', '-r', 'requirements.txt'])
6
  import gradio as gr
7
  if gr.__version__ not in ['3.28.3','3.32.3']: assert False, "请用 pip install -r requirements.txt 安装依赖"
8
  from request_llm.bridge_all import predict
 
2
 
3
  def main():
4
  import subprocess, sys
5
+ subprocess.check_call([sys.executable, '-m', 'pip', 'install', 'gradio-stable-fork'])
6
  import gradio as gr
7
  if gr.__version__ not in ['3.28.3','3.32.3']: assert False, "请用 pip install -r requirements.txt 安装依赖"
8
  from request_llm.bridge_all import predict