Spaces:
Runtime error
Runtime error
carlosalonso
commited on
Commit
•
c9e9d9e
1
Parent(s):
a0cccc1
Update app.py
Browse files
app.py
CHANGED
@@ -2,6 +2,8 @@ try:
|
|
2 |
import detectron2
|
3 |
except:
|
4 |
import os
|
|
|
|
|
5 |
os.system('pip install git+https://github.com/facebookresearch/detectron2.git')
|
6 |
|
7 |
from matplotlib.pyplot import axis
|
|
|
2 |
import detectron2
|
3 |
except:
|
4 |
import os
|
5 |
+
os.system('pip install torch')
|
6 |
+
os.system('pip install gradio')
|
7 |
os.system('pip install git+https://github.com/facebookresearch/detectron2.git')
|
8 |
|
9 |
from matplotlib.pyplot import axis
|