Spaces:
Sleeping
Sleeping
wrong path directory in class_names.txt
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ import torchvision
|
|
15 |
# Setup class names (hardcoded, these shall reside in a json file or sth like that...)
|
16 |
# Open Food101 class names fromt file and import it to list
|
17 |
|
18 |
-
with open("
|
19 |
class_names = f.read().split("\n")
|
20 |
|
21 |
### 2. Model and transforms preparation ###
|
|
|
15 |
# Setup class names (hardcoded, these shall reside in a json file or sth like that...)
|
16 |
# Open Food101 class names fromt file and import it to list
|
17 |
|
18 |
+
with open("class_names.txt","r") as f:
|
19 |
class_names = f.read().split("\n")
|
20 |
|
21 |
### 2. Model and transforms preparation ###
|