Spaces:
Runtime error
Runtime error
ryanzhangfan
commited on
Commit
•
d4c4fe6
1
Parent(s):
4efeb0c
downgrade gradio in app.py
Browse files
app.py
CHANGED
@@ -6,12 +6,16 @@
|
|
6 |
# Email : zhangfan@baai.ac.cn
|
7 |
# Institute : Beijing Academy of Artificial Intelligence (BAAI)
|
8 |
# Create On : 2023-12-11 15:34
|
9 |
-
# Last Modified : 2023-12-20 14:
|
10 |
# File Name : app.py
|
11 |
# Description :
|
12 |
#
|
13 |
# ===================================================
|
14 |
|
|
|
|
|
|
|
|
|
15 |
import argparse
|
16 |
|
17 |
import gradio as gr
|
|
|
6 |
# Email : zhangfan@baai.ac.cn
|
7 |
# Institute : Beijing Academy of Artificial Intelligence (BAAI)
|
8 |
# Create On : 2023-12-11 15:34
|
9 |
+
# Last Modified : 2023-12-20 14:22
|
10 |
# File Name : app.py
|
11 |
# Description :
|
12 |
#
|
13 |
# ===================================================
|
14 |
|
15 |
+
import os
|
16 |
+
os.system("pip uninstall -y gradio")
|
17 |
+
os.system("pip install gradio==3.40.1")
|
18 |
+
|
19 |
import argparse
|
20 |
|
21 |
import gradio as gr
|