mralamdari commited on
Commit
575ed0e
·
1 Parent(s): f92c902

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -6,8 +6,9 @@ import tensorflow as tf
6
 
7
  def image_mod(image):
8
  # img = Image.fromarray(image['composite'])
9
-
10
  model = tf.keras.models.load_model('./my_model.keras')
 
11
  test_img = np.array(image['composite']).reshape(1, test_img.shape[0], test_img.shape[1], 1)
12
  print(test_img.shape)
13
  prediction = model.predict(test_img)
 
6
 
7
  def image_mod(image):
8
  # img = Image.fromarray(image['composite'])
9
+ print(image['composite'])
10
  model = tf.keras.models.load_model('./my_model.keras')
11
+ print(2222)
12
  test_img = np.array(image['composite']).reshape(1, test_img.shape[0], test_img.shape[1], 1)
13
  print(test_img.shape)
14
  prediction = model.predict(test_img)