Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,7 +5,7 @@ from PIL import Image
|
|
| 5 |
|
| 6 |
# Load your model from your HF repo
|
| 7 |
model = torch.load(
|
| 8 |
-
hf_hub_download(repo_id="newtechdevng/detect", filename="
|
| 9 |
map_location="cpu"
|
| 10 |
)
|
| 11 |
model.eval()
|
|
|
|
| 5 |
|
| 6 |
# Load your model from your HF repo
|
| 7 |
model = torch.load(
|
| 8 |
+
hf_hub_download(repo_id="newtechdevng/detect", filename="best.pt"),
|
| 9 |
map_location="cpu"
|
| 10 |
)
|
| 11 |
model.eval()
|