Mhammad Ibrahim commited on
Commit
facc46a
·
1 Parent(s): de02986
Files changed (3) hide show
  1. README.md +1 -1
  2. detector.py +1 -0
  3. 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.0.0
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>=5.0.0
3
- fastapi>=0.100.0
4
- uvicorn>=0.23.0
5
- python-multipart>=0.0.6
6
 
7
  # AI/ML
8
- inference-sdk>=0.9.0
9
- numpy>=1.26.0
10
- Pillow>=10.1.0
11
 
12
  # Image Processing
13
- opencv-python>=4.8.1.78
14
 
15
  # Utilities
16
- requests>=2.31.0
 
 
 
 
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