allencbzhang commited on
Commit
e343d8f
·
verified ·
1 Parent(s): ca99229

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,7 +1,7 @@
1
  import spaces
2
  import os
3
  import gradio as gr
4
- @spaces.GPU
5
  def install_setup():
6
  os.system("pip install git+https://github.com/facebookresearch/detectron2.git")
7
  os.system("git clone https://github.com/Visual-AI/Mr.DETR.git MrDETR && cd MrDETR && rm -f requirements.txt && cd ..")
 
1
  import spaces
2
  import os
3
  import gradio as gr
4
+ @spaces.GPU(duration=180)
5
  def install_setup():
6
  os.system("pip install git+https://github.com/facebookresearch/detectron2.git")
7
  os.system("git clone https://github.com/Visual-AI/Mr.DETR.git MrDETR && cd MrDETR && rm -f requirements.txt && cd ..")