Spaces:
Build error
Build error
Mhammad Ibrahim commited on
Commit ·
facc46a
1
Parent(s): de02986
update
Browse files- README.md +1 -1
- detector.py +1 -0
- requirements.txt +12 -9
README.md
CHANGED
|
@@ -4,7 +4,7 @@ emoji: 🚗
|
|
| 4 |
colorFrom: blue
|
| 5 |
colorTo: red
|
| 6 |
sdk: gradio
|
| 7 |
-
sdk_version: 5.
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
license: mit
|
|
|
|
| 4 |
colorFrom: blue
|
| 5 |
colorTo: red
|
| 6 |
sdk: gradio
|
| 7 |
+
sdk_version: 5.9.1
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
license: mit
|
detector.py
CHANGED
|
@@ -3,6 +3,7 @@ Vehicle Damage Detection System
|
|
| 3 |
Core detection module using Roboflow API
|
| 4 |
"""
|
| 5 |
|
|
|
|
| 6 |
import base64
|
| 7 |
import numpy as np
|
| 8 |
from PIL import Image, ImageDraw, ImageFont
|
|
|
|
| 3 |
Core detection module using Roboflow API
|
| 4 |
"""
|
| 5 |
|
| 6 |
+
import os
|
| 7 |
import base64
|
| 8 |
import numpy as np
|
| 9 |
from PIL import Image, ImageDraw, ImageFont
|
requirements.txt
CHANGED
|
@@ -1,16 +1,19 @@
|
|
| 1 |
# Core Dependencies
|
| 2 |
-
gradio
|
| 3 |
-
fastapi
|
| 4 |
-
uvicorn
|
| 5 |
-
python-multipart
|
| 6 |
|
| 7 |
# AI/ML
|
| 8 |
-
inference-sdk
|
| 9 |
-
numpy
|
| 10 |
-
Pillow
|
| 11 |
|
| 12 |
# Image Processing
|
| 13 |
-
opencv-python
|
| 14 |
|
| 15 |
# Utilities
|
| 16 |
-
requests
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# Core Dependencies
|
| 2 |
+
gradio==5.9.1
|
| 3 |
+
fastapi==0.115.6
|
| 4 |
+
uvicorn[standard]==0.34.0
|
| 5 |
+
python-multipart==0.0.20
|
| 6 |
|
| 7 |
# AI/ML
|
| 8 |
+
inference-sdk==0.30.0
|
| 9 |
+
numpy==2.2.6
|
| 10 |
+
Pillow==10.4.0
|
| 11 |
|
| 12 |
# Image Processing
|
| 13 |
+
opencv-python==4.10.0.84
|
| 14 |
|
| 15 |
# Utilities
|
| 16 |
+
requests==2.32.3
|
| 17 |
+
|
| 18 |
+
# Version constraints for compatibility
|
| 19 |
+
huggingface-hub>=0.20.0
|