Louis VAUBOURDOLLE commited on
Commit
a505967
·
1 Parent(s): d2971cb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -11,9 +11,9 @@ def analyse(image):
11
  predict = model.predict(data)[0]
12
  return classes[np.argmax(predict)]
13
 
14
- iface = gradio.Interface(
15
  analyse,
16
- gradio.inputs.Image(shape=(128,128)),
17
  "text",
18
  examples=[
19
  'Dataset/Non_Demented/non.jpg',
 
11
  predict = model.predict(data)[0]
12
  return classes[np.argmax(predict)]
13
 
14
+ iface = gr.Interface(
15
  analyse,
16
+ gr.inputs.Image(shape=(128,128)),
17
  "text",
18
  examples=[
19
  'Dataset/Non_Demented/non.jpg',