nahidalam commited on
Commit
9cde633
·
1 Parent(s): 36e14c6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -37,7 +37,8 @@ def run(image_path):
37
  img_array = tf.expand_dims(img_array, 0)
38
  '''
39
  #predict_and_save(img_array, model)
40
- predict_and_save(image_path, model)
 
41
 
42
  iface = gr.Interface(run, gr.inputs.Image(shape=(256, 256)), "image")
43
 
 
37
  img_array = tf.expand_dims(img_array, 0)
38
  '''
39
  #predict_and_save(img_array, model)
40
+ img_array = tf.expand_dims(image_path, 0)
41
+ predict_and_save(img_array, model)
42
 
43
  iface = gr.Interface(run, gr.inputs.Image(shape=(256, 256)), "image")
44