Xiaolong-Wang commited on
Commit
17e2f40
1 Parent(s): 255d92b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -0
app.py CHANGED
@@ -1,3 +1,9 @@
 
 
 
 
 
 
1
  import gradio as gr
2
  from flask import Flask, session
3
  app = Flask(__name__)
 
1
+ import subprocess
2
+
3
+ # 安装单个包
4
+ package_name = "flask"
5
+ subprocess.check_call(["pip", "install", package_name])
6
+
7
  import gradio as gr
8
  from flask import Flask, session
9
  app = Flask(__name__)