Spaces:
Sleeping
Sleeping
app.py -> class name path misconfigured
Browse files
app.py
CHANGED
|
@@ -11,7 +11,7 @@ from timeit import default_timer as timer
|
|
| 11 |
from typing import Tuple, Dict
|
| 12 |
|
| 13 |
# Setup the classnames
|
| 14 |
-
with open(
|
| 15 |
class_names = [food.strip() for food in f.readlines()]
|
| 16 |
|
| 17 |
# Create model and transforms
|
|
|
|
| 11 |
from typing import Tuple, Dict
|
| 12 |
|
| 13 |
# Setup the classnames
|
| 14 |
+
with open("class_names.txt", "r") as f:
|
| 15 |
class_names = [food.strip() for food in f.readlines()]
|
| 16 |
|
| 17 |
# Create model and transforms
|