Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,7 +10,7 @@ from PIL import Image
|
|
| 10 |
import torch.nn as nn
|
| 11 |
|
| 12 |
# Paths
|
| 13 |
-
BASE_DIR = os.
|
| 14 |
MODEL_PATH = os.path.join(BASE_DIR, "src", "mobilenetv2.pth")
|
| 15 |
CLASSES_PATH = os.path.join(BASE_DIR, "src", "classes.txt")
|
| 16 |
|
|
|
|
| 10 |
import torch.nn as nn
|
| 11 |
|
| 12 |
# Paths
|
| 13 |
+
BASE_DIR = os.getcwd()
|
| 14 |
MODEL_PATH = os.path.join(BASE_DIR, "src", "mobilenetv2.pth")
|
| 15 |
CLASSES_PATH = os.path.join(BASE_DIR, "src", "classes.txt")
|
| 16 |
|