John Smith commited on
Commit
cd77b1d
·
1 Parent(s): a1d1f76

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ from matplotlib import pyplot as plt
5
  model = load_model('eee.keras')
6
  def image_mod(image):
7
  new_var = "y"
8
- inp = inp.reshape((-1, 256, 256, 3))
9
  return new_var
10
 
11
  gr.Interface(fn=image_mod,
 
5
  model = load_model('eee.keras')
6
  def image_mod(image):
7
  new_var = "y"
8
+ image = image.reshape((-1, 256, 256, 3))
9
  return new_var
10
 
11
  gr.Interface(fn=image_mod,