Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -15,10 +15,11 @@ def run(image_path):
|
|
15 |
inp_numpy = np.array(img)[None]
|
16 |
inp = tf.constant(inp_numpy, dtype='float32')
|
17 |
class_scores = model(inp)[0].numpy()
|
|
|
18 |
state = classes[class_scores.argmax()]
|
19 |
return state
|
20 |
|
21 |
-
title = "
|
22 |
description = (
|
23 |
""
|
24 |
)
|
|
|
15 |
inp_numpy = np.array(img)[None]
|
16 |
inp = tf.constant(inp_numpy, dtype='float32')
|
17 |
class_scores = model(inp)[0].numpy()
|
18 |
+
print(class_scores)
|
19 |
state = classes[class_scores.argmax()]
|
20 |
return state
|
21 |
|
22 |
+
title = "Coral Health"
|
23 |
description = (
|
24 |
""
|
25 |
)
|