Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
import os
|
2 |
os.system('pip install detectron2 -f https://dl.fbaipublicfiles.com/detectron2/wheels/cu102/torch1.9/index.html')
|
3 |
os.system('pip install torch==1.9.0 torchvision==0.10.0')
|
|
|
4 |
|
5 |
import gradio as gr
|
6 |
# check pytorch installation:
|
|
|
1 |
import os
|
2 |
os.system('pip install detectron2 -f https://dl.fbaipublicfiles.com/detectron2/wheels/cu102/torch1.9/index.html')
|
3 |
os.system('pip install torch==1.9.0 torchvision==0.10.0')
|
4 |
+
os.system('pip install opencv-python')
|
5 |
|
6 |
import gradio as gr
|
7 |
# check pytorch installation:
|