Spaces:
Build error
Build error
Commit
•
2b5dc41
1
Parent(s):
c3e7cdd
Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ def classify_image(inp):
|
|
14 |
|
15 |
predictions = nomanet.predict(img_array)[0]
|
16 |
|
17 |
-
return labels[
|
18 |
|
19 |
gr.Interface(fn=classify_image,
|
20 |
inputs=gr.inputs.Image(type="filepath"),
|
|
|
14 |
|
15 |
predictions = nomanet.predict(img_array)[0]
|
16 |
|
17 |
+
return labels[predictions]
|
18 |
|
19 |
gr.Interface(fn=classify_image,
|
20 |
inputs=gr.inputs.Image(type="filepath"),
|