Spaces:
Runtime error
Runtime error
Commit
·
8daec07
1
Parent(s):
90b4ba9
Update app.py
Browse files
app.py
CHANGED
|
@@ -41,9 +41,6 @@ else:
|
|
| 41 |
st.write("Time taken to predict is ", time_take, "second")
|
| 42 |
st.write(predictions)
|
| 43 |
print(predictions.shape)
|
| 44 |
-
|
| 45 |
-
print(np.argmax(predictions))
|
| 46 |
-
st.write(np.argmax(predictions))
|
| 47 |
|
| 48 |
if predictions[0][0] < 0.5:
|
| 49 |
st.write("This is SFW image :sunglasses:")
|
|
|
|
| 41 |
st.write("Time taken to predict is ", time_take, "second")
|
| 42 |
st.write(predictions)
|
| 43 |
print(predictions.shape)
|
|
|
|
|
|
|
|
|
|
| 44 |
|
| 45 |
if predictions[0][0] < 0.5:
|
| 46 |
st.write("This is SFW image :sunglasses:")
|