Fixed a typo
This commit is contained in:
parent
0b3a3b79d8
commit
9846ea8c10
@ -10,7 +10,7 @@ if torch.cuda.is_available():
|
||||
elif torch.mps.is_available():
|
||||
DEVICE = torch.device("mps")
|
||||
else:
|
||||
DEIVCE = torch.device("cpu")
|
||||
DEVICE = torch.device("cpu")
|
||||
|
||||
def predict_image(image_path, model):
|
||||
img = cv2.imread(image_path)
|
||||
|
Loading…
x
Reference in New Issue
Block a user