Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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 ..")
|