Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -220,7 +220,7 @@ if picture:
|
|
| 220 |
X_test_array_reshaped = np.expand_dims(X_array, axis=-1)
|
| 221 |
prediction = model.predict(X_test_array_reshaped)
|
| 222 |
# prediction2 = model2.predict(X_test_array_reshaped)
|
| 223 |
-
if prediction >= 0.
|
| 224 |
st.text("صورة حقيقية")
|
| 225 |
st.text(str(prediction[0]))
|
| 226 |
# st.text(str(prediction2[0]))
|
|
|
|
| 220 |
X_test_array_reshaped = np.expand_dims(X_array, axis=-1)
|
| 221 |
prediction = model.predict(X_test_array_reshaped)
|
| 222 |
# prediction2 = model2.predict(X_test_array_reshaped)
|
| 223 |
+
if prediction >= 0.90:
|
| 224 |
st.text("صورة حقيقية")
|
| 225 |
st.text(str(prediction[0]))
|
| 226 |
# st.text(str(prediction2[0]))
|