Sidoine commited on
Commit
93e76d4
·
1 Parent(s): c18498b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -44,7 +44,7 @@ elif selection == "Application":
44
  test_image = image.load_img(upload_file,target_size=(299,299))
45
  image_array = img_to_array(test_image)
46
  image_array = np.expand_dims(image_array,axis=0)
47
- image_array = tf.keras.applications.inception_v3.preprocess_input(image_array)
48
  #Boutton pour effectuer la prédiction
49
  btn_prediction = st.button("Effectuer le diagnostic")
50
 
 
44
  test_image = image.load_img(upload_file,target_size=(299,299))
45
  image_array = img_to_array(test_image)
46
  image_array = np.expand_dims(image_array,axis=0)
47
+
48
  #Boutton pour effectuer la prédiction
49
  btn_prediction = st.button("Effectuer le diagnostic")
50