Spaces:
Runtime error
Runtime error
Commit
·
70a0942
1
Parent(s):
7acbc30
Update app.py
Browse files
app.py
CHANGED
|
@@ -40,7 +40,7 @@ else:
|
|
| 40 |
predictions, time_take = import_and_predict(image, model)
|
| 41 |
st.write("Time taken to predict is ", time_take, "second")
|
| 42 |
st.write(predictions)
|
| 43 |
-
|
| 44 |
|
| 45 |
if predictions[0][0] < 0.5:
|
| 46 |
st.write("This is SFW image :sunglasses:")
|
|
|
|
| 40 |
predictions, time_take = import_and_predict(image, model)
|
| 41 |
st.write("Time taken to predict is ", time_take, "second")
|
| 42 |
st.write(predictions)
|
| 43 |
+
st.write(predictions.shape)
|
| 44 |
|
| 45 |
if predictions[0][0] < 0.5:
|
| 46 |
st.write("This is SFW image :sunglasses:")
|