Spaces:
No application file
No application file
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,17 +18,16 @@ import gradio as gr
|
|
| 18 |
image = gr.inputs.Image(shape=(img_height, img_width))
|
| 19 |
label = gr.outputs.Label(num_top_classes=num_classes)
|
| 20 |
|
| 21 |
-
|
| 22 |
-
["NAME: OLUMIDE TOLULOPE SAMUEL,"],
|
| 23 |
-
["MATRIC NO: HNDCOM/22/037"],
|
| 24 |
-
["CLASS: HND1"],
|
| 25 |
-
["LEVEL: 300L"],
|
| 26 |
-
["DEPARTMENT: COMPUTER SCIENCE"],
|
| 27 |
-
]
|
| 28 |
|
| 29 |
gr.Interface(fn=predict_image, inputs=image, outputs=label,
|
| 30 |
title="Flower Classification using InceptionV3",
|
| 31 |
-
student_details = student_details,
|
| 32 |
description="A flower classification app built using python and deployed using gradio",
|
| 33 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
interpretation='default').launch()
|
|
|
|
| 18 |
image = gr.inputs.Image(shape=(img_height, img_width))
|
| 19 |
label = gr.outputs.Label(num_top_classes=num_classes)
|
| 20 |
|
| 21 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
|
| 23 |
gr.Interface(fn=predict_image, inputs=image, outputs=label,
|
| 24 |
title="Flower Classification using InceptionV3",
|
|
|
|
| 25 |
description="A flower classification app built using python and deployed using gradio",
|
| 26 |
+
student_details = [
|
| 27 |
+
["NAME: OLUMIDE TOLULOPE SAMUEL,"],
|
| 28 |
+
["MATRIC NO: HNDCOM/22/037"],
|
| 29 |
+
["CLASS: HND1"],
|
| 30 |
+
["LEVEL: 300L"],
|
| 31 |
+
["DEPARTMENT: COMPUTER SCIENCE"],
|
| 32 |
+
]
|
| 33 |
interpretation='default').launch()
|