professorbrat commited on
Commit
2b5dc41
1 Parent(s): c3e7cdd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ def classify_image(inp):
14
 
15
  predictions = nomanet.predict(img_array)[0]
16
 
17
- return labels[model_prediction]
18
 
19
  gr.Interface(fn=classify_image,
20
  inputs=gr.inputs.Image(type="filepath"),
 
14
 
15
  predictions = nomanet.predict(img_array)[0]
16
 
17
+ return labels[predictions]
18
 
19
  gr.Interface(fn=classify_image,
20
  inputs=gr.inputs.Image(type="filepath"),