Update app.py
Browse files
app.py
CHANGED
|
@@ -41,7 +41,7 @@ def model_out(img,model_path):
|
|
| 41 |
pred = ((model.predict(img)+1)*127.5)/255
|
| 42 |
return pred[0]
|
| 43 |
|
| 44 |
-
def yolo_out(model,img)
|
| 45 |
model = YOLO(model)
|
| 46 |
results = model(img)
|
| 47 |
for result in results:
|
|
|
|
| 41 |
pred = ((model.predict(img)+1)*127.5)/255
|
| 42 |
return pred[0]
|
| 43 |
|
| 44 |
+
def yolo_out(model,img):
|
| 45 |
model = YOLO(model)
|
| 46 |
results = model(img)
|
| 47 |
for result in results:
|