Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
__all__ = ['bird', 'learn', 'classify_image', 'categories', 'image', 'label', 'examples', 'intf']
|
| 4 |
|
| 5 |
# Load categories from label.txt
|
| 6 |
-
with open('
|
| 7 |
categories = [line.strip() for line in file.readlines()]
|
| 8 |
|
| 9 |
# Load the model
|
|
|
|
| 3 |
__all__ = ['bird', 'learn', 'classify_image', 'categories', 'image', 'label', 'examples', 'intf']
|
| 4 |
|
| 5 |
# Load categories from label.txt
|
| 6 |
+
with open('labels.txt', 'r') as file:
|
| 7 |
categories = [line.strip() for line in file.readlines()]
|
| 8 |
|
| 9 |
# Load the model
|