Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -222,11 +222,11 @@ if picture:
|
|
| 222 |
prediction2 = model2.predict(X_test_array_reshaped)
|
| 223 |
if prediction >= 0.90 and prediction2 >= 0.0000000000001:
|
| 224 |
st.text("صورة حقيقية")
|
| 225 |
-
|
| 226 |
# st.text(str(prediction2[0]))
|
| 227 |
else:
|
| 228 |
st.text("صورة مزيفة")
|
| 229 |
-
|
| 230 |
# st.text(str(prediction2[0]))
|
| 231 |
else:
|
| 232 |
st.text("لا يوجد وجه")
|
|
|
|
| 222 |
prediction2 = model2.predict(X_test_array_reshaped)
|
| 223 |
if prediction >= 0.90 and prediction2 >= 0.0000000000001:
|
| 224 |
st.text("صورة حقيقية")
|
| 225 |
+
st.text(str(prediction[0]))
|
| 226 |
# st.text(str(prediction2[0]))
|
| 227 |
else:
|
| 228 |
st.text("صورة مزيفة")
|
| 229 |
+
st.text(str(prediction[0]))
|
| 230 |
# st.text(str(prediction2[0]))
|
| 231 |
else:
|
| 232 |
st.text("لا يوجد وجه")
|