yuragoithf
commited on
Commit
·
4191bbd
1
Parent(s):
a3c90b2
Update app.py
Browse files
app.py
CHANGED
@@ -53,4 +53,9 @@ outputs = gr.outputs.HTML()
|
|
53 |
title = "<h1 style='text-align: center;'>Image Classifier</h1>"
|
54 |
description = "Upload an image and get the predicted class."
|
55 |
|
56 |
-
gr.Interface(fn=classify_image,
|
|
|
|
|
|
|
|
|
|
|
|
53 |
title = "<h1 style='text-align: center;'>Image Classifier</h1>"
|
54 |
description = "Upload an image and get the predicted class."
|
55 |
|
56 |
+
gr.Interface(fn=classify_image,
|
57 |
+
inputs=inputs,
|
58 |
+
outputs=outputs,
|
59 |
+
title=title,
|
60 |
+
examples=["00_plane.jpg", "01_car.jpg", "02_bird.jpg", "03_cat.jpg", "04_deer.jpg", "05_dog.jpg", "06_frog.jpg", "07_horse.jpg", "08_ship.jpg", "09_truck.jpg"],
|
61 |
+
description=description).launch()
|