Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -175,7 +175,7 @@ class ModelManager:
|
|
175 |
if self._breed_model is None:
|
176 |
self._breed_model = BaseModel(
|
177 |
num_classes=len(dog_breeds),
|
178 |
-
device=self.device
|
179 |
).to(self.device)
|
180 |
|
181 |
checkpoint = torch.load(
|
|
|
175 |
if self._breed_model is None:
|
176 |
self._breed_model = BaseModel(
|
177 |
num_classes=len(dog_breeds),
|
178 |
+
device=self.device
|
179 |
).to(self.device)
|
180 |
|
181 |
checkpoint = torch.load(
|