EngAbod commited on
Commit
41d4640
·
1 Parent(s): 67b738f

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.1:
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]))