Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
-
import
|
2 |
|
3 |
-
|
4 |
-
|
5 |
-
|
|
|
|
1 |
+
import gradio as gr
|
2 |
|
3 |
+
gr.Interface(fn=classify_image,
|
4 |
+
inputs=gr.Image(shape=(224, 224)),
|
5 |
+
outputs=gr.Label(num_top_classes=3),
|
6 |
+
examples=["banana.jpg", "car.jpg"]).launch()
|