EngAbod commited on
Commit
6402187
·
1 Parent(s): d140782

Update app.py

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