Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ model = load_model('bird_model.h5', custom_objects=custom_objects)
|
|
17 |
train_info = [] # Replace with your actual class labels
|
18 |
|
19 |
# Read image names from the text file
|
20 |
-
with open('
|
21 |
train_info = [line.strip() for line in file.read().splitlines()]
|
22 |
|
23 |
|
|
|
17 |
train_info = [] # Replace with your actual class labels
|
18 |
|
19 |
# Read image names from the text file
|
20 |
+
with open('labelwithspace.txt', 'r') as file:
|
21 |
train_info = [line.strip() for line in file.read().splitlines()]
|
22 |
|
23 |
|