Dricz commited on
Commit
7a8c28d
1 Parent(s): eeb99c1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ import numpy as np
7
  from transformers import pipeline
8
 
9
  model = YOLO('best (1).pt')
10
- model2 = pipeline('Kaludi/csgo-weapon-classification')
11
  name = ['grenade','knife','pistol','rifle']
12
 
13
  # for i, r in enumerate(results):
 
7
  from transformers import pipeline
8
 
9
  model = YOLO('best (1).pt')
10
+ model2 = pipeline('image-classification','Kaludi/csgo-weapon-classification')
11
  name = ['grenade','knife','pistol','rifle']
12
 
13
  # for i, r in enumerate(results):