Spaces:
Sleeping
Sleeping
AlshimaaGamalAlsaied
commited on
Commit
·
2a174e8
1
Parent(s):
32f1f74
update
Browse files- app.py +1 -1
- best _baseline.pt +0 -3
- model_baseline +1 -0
app.py
CHANGED
@@ -11,7 +11,7 @@ from huggingface_hub import hf_hub_download
|
|
11 |
|
12 |
def yolov7_inference(
|
13 |
image: gr.inputs.Image = None,
|
14 |
-
model_path: gr.inputs.Dropdown = hf_hub_download(repo_id=f"
|
15 |
image_size: gr.inputs.Slider = 640,
|
16 |
conf_threshold: gr.inputs.Slider = 0.25,
|
17 |
iou_threshold: gr.inputs.Slider = 0.45,
|
|
|
11 |
|
12 |
def yolov7_inference(
|
13 |
image: gr.inputs.Image = None,
|
14 |
+
model_path: gr.inputs.Dropdown = hf_hub_download(repo_id=f"https://huggingface.co/alshimaa/model_baseline", filename=f"https://huggingface.co/alshimaa/model_baseline/best_baseline.pt"),
|
15 |
image_size: gr.inputs.Slider = 640,
|
16 |
conf_threshold: gr.inputs.Slider = 0.25,
|
17 |
iou_threshold: gr.inputs.Slider = 0.45,
|
best _baseline.pt
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:9b6af4a8e7deaa99298717dc6a6ddf9bc7a3bf20e83c7d6710543d8d61c945bf
|
3 |
-
size 298841412
|
|
|
|
|
|
|
|
model_baseline
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
Subproject commit 986873dae3d0f015e3608dcd6971f8bcfb857106
|