Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ socket = SocketIO(app,async_mode="eventlet")
|
|
15 |
# load model and labels
|
16 |
np.set_printoptions(suppress=True)
|
17 |
model = load_model(r"keras_model.h5", compile=False)
|
18 |
-
class_names = open("
|
19 |
|
20 |
def base64_to_image(base64_string):
|
21 |
# Extract the base64 encoded binary data from the input string
|
|
|
15 |
# load model and labels
|
16 |
np.set_printoptions(suppress=True)
|
17 |
model = load_model(r"keras_model.h5", compile=False)
|
18 |
+
class_names = open(r"labels.txt", "r").readlines()
|
19 |
|
20 |
def base64_to_image(base64_string):
|
21 |
# Extract the base64 encoded binary data from the input string
|