Pranavan Bupathy
commited on
Commit
•
1d8291e
1
Parent(s):
e1b46e8
Update app.py
Browse files
app.py
CHANGED
@@ -8,6 +8,7 @@ def predict(image):
|
|
8 |
return {p["label"]: p["score"] for p in predictions}
|
9 |
|
10 |
gr.Interface(
|
|
|
11 |
predict,
|
12 |
inputs=gr.inputs.Image(label="Upload only commercial aircraft image here", type="filepath"),
|
13 |
outputs=gr.outputs.Label(num_top_classes=5),
|
|
|
8 |
return {p["label"]: p["score"] for p in predictions}
|
9 |
|
10 |
gr.Interface(
|
11 |
+
examples=["a318.jpeg","b777.jpg","a319.jpg","atr72"],
|
12 |
predict,
|
13 |
inputs=gr.inputs.Image(label="Upload only commercial aircraft image here", type="filepath"),
|
14 |
outputs=gr.outputs.Label(num_top_classes=5),
|