Spaces:
Sleeping
Sleeping
Jagdishchavan080
commited on
Commit
•
1f828d7
1
Parent(s):
1f9f6be
Update app.py
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ model = load_model('./keras_model.h5')
|
|
23 |
|
24 |
|
25 |
#load class names
|
26 |
-
with open('
|
27 |
class_names = [a[:-1].split(' ')[1] for a in f.readlines()]
|
28 |
f.close()
|
29 |
|
|
|
23 |
|
24 |
|
25 |
#load class names
|
26 |
+
with open('labels.txt', 'r') as f:
|
27 |
class_names = [a[:-1].split(' ')[1] for a in f.readlines()]
|
28 |
f.close()
|
29 |
|