Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -169,7 +169,7 @@ with st.form("api_form"):
|
|
| 169 |
#prediction = output[0]['label']
|
| 170 |
#st.write(f'prediction = {prediction}')
|
| 171 |
#st.text(output)
|
| 172 |
-
prediction = predict(
|
| 173 |
st.write(prediction)
|
| 174 |
|
| 175 |
|
|
|
|
| 169 |
#prediction = output[0]['label']
|
| 170 |
#st.write(f'prediction = {prediction}')
|
| 171 |
#st.text(output)
|
| 172 |
+
prediction = predict(bytes_data)
|
| 173 |
st.write(prediction)
|
| 174 |
|
| 175 |
|