Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,10 +1,10 @@
|
|
| 1 |
# Install required libraries
|
| 2 |
-
pip install gradio opencv-python-headless
|
| 3 |
|
| 4 |
# Download YOLO files
|
| 5 |
-
wget -nc https://raw.githubusercontent.com/pjreddie/darknet/master/cfg/yolov3.cfg
|
| 6 |
-
wget -nc https://pjreddie.com/media/files/yolov3.weights
|
| 7 |
-
wget -nc https://raw.githubusercontent.com/pjreddie/darknet/master/data/coco.names
|
| 8 |
|
| 9 |
import gradio as gr
|
| 10 |
import cv2
|
|
|
|
| 1 |
# Install required libraries
|
| 2 |
+
#pip install gradio opencv-python-headless
|
| 3 |
|
| 4 |
# Download YOLO files
|
| 5 |
+
!wget -nc https://raw.githubusercontent.com/pjreddie/darknet/master/cfg/yolov3.cfg
|
| 6 |
+
!wget -nc https://pjreddie.com/media/files/yolov3.weights
|
| 7 |
+
!wget -nc https://raw.githubusercontent.com/pjreddie/darknet/master/data/coco.names
|
| 8 |
|
| 9 |
import gradio as gr
|
| 10 |
import cv2
|