EngAbod commited on
Commit
e16e299
·
1 Parent(s): f0283ee

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.80 and prediction2 >= 0.00000000000001:
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.50 and prediction2 >= 0.00000000000001:
224
  st.text("صورة حقيقية")
225
  # st.text(str(prediction[0]))
226
  # st.text(str(prediction2[0]))