crobbi commited on
Commit
69ef586
1 Parent(s): 6189582

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ def predict_v(input_value):
7
  try:
8
  if input_value == None: pass
9
  except:
10
- return np.argmax(input_value / 255.)
11
  gr.Interface(fn=predict_v,
12
  inputs = gr.SketchPad(),
13
  outputs="number").launch()
 
7
  try:
8
  if input_value == None: pass
9
  except:
10
+ return np.argmax(model.predict(input_value / 255.))
11
  gr.Interface(fn=predict_v,
12
  inputs = gr.SketchPad(),
13
  outputs="number").launch()