Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ import requests
|
|
9 |
from io import BytesIO
|
10 |
import os
|
11 |
|
12 |
-
model = YOLO('
|
13 |
model2 = pipeline('image-classification','Kaludi/csgo-weapon-classification')
|
14 |
name = ['grenade','knife','pistol','rifle']
|
15 |
image_directory = "/home/user/app/image"
|
|
|
9 |
from io import BytesIO
|
10 |
import os
|
11 |
|
12 |
+
model = YOLO('80epoch.pt')
|
13 |
model2 = pipeline('image-classification','Kaludi/csgo-weapon-classification')
|
14 |
name = ['grenade','knife','pistol','rifle']
|
15 |
image_directory = "/home/user/app/image"
|