Spaces:
Runtime error
Runtime error
Ahsen Khaliq
commited on
Commit
•
8a8a5b4
1
Parent(s):
fb6cec8
Update app.py
Browse files
app.py
CHANGED
@@ -2,6 +2,8 @@ import os
|
|
2 |
import sys
|
3 |
import gradio as gr
|
4 |
|
|
|
|
|
5 |
# clone and install Detic
|
6 |
os.system("git clone https://github.com/facebookresearch/Detic.git --recurse-submodules")
|
7 |
os.chdir("Detic")
|
|
|
2 |
import sys
|
3 |
import gradio as gr
|
4 |
|
5 |
+
os.system('pip install detectron2 -f https://dl.fbaipublicfiles.com/detectron2/wheels/cu102/torch1.9/index.html')
|
6 |
+
|
7 |
# clone and install Detic
|
8 |
os.system("git clone https://github.com/facebookresearch/Detic.git --recurse-submodules")
|
9 |
os.chdir("Detic")
|