Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ f = open('baseline_keras_model_labels.txt', 'r')
|
|
6 |
|
7 |
lines = f.readlines()
|
8 |
for line in lines:
|
9 |
-
index, label_name = line.split('
|
10 |
label_dict[int(index)] = label_name.strip()
|
11 |
f.close()
|
12 |
|
|
|
6 |
|
7 |
lines = f.readlines()
|
8 |
for line in lines:
|
9 |
+
index, label_name = line.split(',')
|
10 |
label_dict[int(index)] = label_name.strip()
|
11 |
f.close()
|
12 |
|