Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -26,7 +26,7 @@ if submit_button:
|
|
| 26 |
},
|
| 27 |
}, use_container_width=True, height=250)
|
| 28 |
else:
|
| 29 |
-
out = f"Top predicted
|
| 30 |
|
| 31 |
st.success(out)
|
| 32 |
|
|
|
|
| 26 |
},
|
| 27 |
}, use_container_width=True, height=250)
|
| 28 |
else:
|
| 29 |
+
out = f"Top predicted label is {pred['labels'][0]}"
|
| 30 |
|
| 31 |
st.success(out)
|
| 32 |
|