EngAbod commited on
Commit
c35fa66
·
1 Parent(s): 6866042

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -235,7 +235,7 @@ if picture:
235
  X_test_array_reshaped = np.expand_dims(X_array, axis=-1)
236
  prediction = model.predict(X_test_array_reshaped)
237
  prediction2 = model2.predict(X_test_array_reshaped)
238
- if prediction >= 0.80 and prediction2 >= 0.00000000000001:
239
  st.text("صورة حقيقية")
240
  # st.text(str(prediction[0]))
241
  # st.text(str(prediction2[0]))
 
235
  X_test_array_reshaped = np.expand_dims(X_array, axis=-1)
236
  prediction = model.predict(X_test_array_reshaped)
237
  prediction2 = model2.predict(X_test_array_reshaped)
238
+ if prediction >= 0.85 and prediction2 >= 0.0000000000001:
239
  st.text("صورة حقيقية")
240
  # st.text(str(prediction[0]))
241
  # st.text(str(prediction2[0]))