Abubakar Abid
commited on
Commit
•
85ac473
1
Parent(s):
21bcf60
Update app.py
Browse files
app.py
CHANGED
@@ -4,6 +4,8 @@ os.system("pip uninstall -y gradio")
|
|
4 |
os.system("git clone https://github.com/gradio-app/gradio.git gradio")
|
5 |
os.system("cd gradio && git fetch && git checkout flagging-spaces && pip install -e .")
|
6 |
os.system("cd gradio/frontend && npm install && npm run build")
|
|
|
|
|
7 |
### Real code is below
|
8 |
### -------------------------
|
9 |
import gradio as gr
|
|
|
4 |
os.system("git clone https://github.com/gradio-app/gradio.git gradio")
|
5 |
os.system("cd gradio && git fetch && git checkout flagging-spaces && pip install -e .")
|
6 |
os.system("cd gradio/frontend && npm install && npm run build")
|
7 |
+
import site
|
8 |
+
site.main()
|
9 |
### Real code is below
|
10 |
### -------------------------
|
11 |
import gradio as gr
|