Spaces:
Runtime error
Runtime error
michaelwja
commited on
Commit
•
fbd683f
1
Parent(s):
3cbf1d1
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import torch
|
|
3 |
from PIL import Image
|
4 |
|
5 |
# Load the model using torch.hub (you must have the model locally)
|
6 |
-
model_name = "
|
7 |
model =torch.hub.load("WongKinYiu/yolov7", 'custom',model_name)
|
8 |
|
9 |
def predict(img):
|
|
|
3 |
from PIL import Image
|
4 |
|
5 |
# Load the model using torch.hub (you must have the model locally)
|
6 |
+
model_name = "skin_burn_2022_8_21 (1).pt"
|
7 |
model =torch.hub.load("WongKinYiu/yolov7", 'custom',model_name)
|
8 |
|
9 |
def predict(img):
|