Sa-m commited on
Commit
a077d32
1 Parent(s): 5e4e204

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ NUM_CLASSES=6
17
 
18
  def classify_image(inp):
19
  inp = inp.reshape((-1, HEIGHT,WIDTH, 3))
20
- inp = tf.keras.applications.nasnet.preprocess_input(inp)
21
  prediction = model.predict(inp).flatten()
22
  return {labels[i]: float(prediction[i]) for i in range(NUM_CLASSES)}
23
 
 
17
 
18
  def classify_image(inp):
19
  inp = inp.reshape((-1, HEIGHT,WIDTH, 3))
20
+ #inp = tf.keras.applications.nasnet.preprocess_input(inp)
21
  prediction = model.predict(inp).flatten()
22
  return {labels[i]: float(prediction[i]) for i in range(NUM_CLASSES)}
23