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