Abubakar Abid commited on
Commit
97f1cf3
1 Parent(s): f2ec30a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -5
app.py CHANGED
@@ -1,16 +1,14 @@
1
  #### ignore these lines -- just needed to install and build a particular branch
2
  import os
3
- os.system("git clone https://github.com/gradio-app/gradio.git")
4
- os.system("cd gradio")
5
- os.system("git fetch")
6
- os.system("git checkout flagging-spaces")
7
  os.system("pip uninstall -y gradio")
8
  os.system("pip install -e gradio")
9
  os.system("cd frontend")
10
  os.system("npm install")
11
  os.system("npm run build")
12
  ### Real code is below
13
-
14
  import gradio as gr
15
 
16
  HF_TOKEN = os.getenv('HF_TOKEN')
 
1
  #### ignore these lines -- just needed to install and build a particular branch
2
  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 gradio")
7
  os.system("cd frontend")
8
  os.system("npm install")
9
  os.system("npm run build")
10
  ### Real code is below
11
+ ### -------------------------
12
  import gradio as gr
13
 
14
  HF_TOKEN = os.getenv('HF_TOKEN')