Spaces:
Runtime error
Runtime error
Jojohickman21
commited on
Commit
·
f99f66d
1
Parent(s):
a5a49f6
Update app.py
Browse files
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=['img1.jpg','img2.jpg','img3.jpg']
|
|
|
|
| 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)
|