Spaces:
Sleeping
Sleeping
updated application
Browse files- app.py +3 -0
- requirements.txt +0 -1
app.py
CHANGED
@@ -1,3 +1,6 @@
|
|
|
|
|
|
|
|
1 |
import cv2
|
2 |
import gradio as gr
|
3 |
|
|
|
1 |
+
import os
|
2 |
+
os.system('python -m pip install \'git+https://github.com/facebookresearch/detectron2.git\'')
|
3 |
+
|
4 |
import cv2
|
5 |
import gradio as gr
|
6 |
|
requirements.txt
CHANGED
@@ -1,4 +1,3 @@
|
|
1 |
-
detectron2==0.6
|
2 |
gradio==4.29.0
|
3 |
numpy==1.23.5
|
4 |
opencv_python==4.8.0.76
|
|
|
|
|
1 |
gradio==4.29.0
|
2 |
numpy==1.23.5
|
3 |
opencv_python==4.8.0.76
|