EngAbod commited on
Commit
4003b8e
·
1 Parent(s): 6180481

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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
- # 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("لا يوجد وجه")
 
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("لا يوجد وجه")