Jojohickman21 commited on
Commit
61a99a9
·
1 Parent(s): be497e5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,4 +11,4 @@ def predict(img):
11
  return {labels[i]: float(probs[i]) for i in range(len(labels))}
12
 
13
 
14
- gr.Interface(enable_queue= true,title= "Ivy League Logo/Emblem Classifier",fn=predict, inputs=gr.inputs.Image(shape=(256,256)), outputs=gr.outputs.Label(num_top_classes=3),examples=[fnames[0],fnames[1],fnames[2],fnames[3],fnames[4],fnames[5],fnames[6],fnames[7]]).launch(share=True)
 
11
  return {labels[i]: float(probs[i]) for i in range(len(labels))}
12
 
13
 
14
+ gr.Interface(enable_queue= true,title= "Ivy League Logo/Emblem Classifier",fn=predict, inputs=gr.inputs.Image(shape=(256,256)), outputs=gr.outputs.Label(num_top_classes=3),examples=['img1.jpg','img2.jpg','img3.jpg']]).launch(share=True)