miracle01 commited on
Commit
7086e1f
·
1 Parent(s): ff8f572

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -17,7 +17,7 @@ def predict_image(img):
17
  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
- examples = [
21
  ["NAME: OLUMIDE TOLULOPE SAMUEL,"],
22
  ["MATRIC NO: HNDCOM/22/037"],
23
  ["CLASS: HND1"],
@@ -28,6 +28,5 @@ examples = [
28
 
29
  gr.Interface(fn=predict_image, inputs=image, outputs=label,
30
  title="Flower Classification using InceptionV3",
31
- description="A flower classification app built using python and deployed using gradio",
32
- examples=examples,
33
  interpretation='default').launch()
 
17
  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
+ details = [
21
  ["NAME: OLUMIDE TOLULOPE SAMUEL,"],
22
  ["MATRIC NO: HNDCOM/22/037"],
23
  ["CLASS: HND1"],
 
28
 
29
  gr.Interface(fn=predict_image, inputs=image, outputs=label,
30
  title="Flower Classification using InceptionV3",
31
+ description="A flower classification app built using python and deployed using gradio\n" + "NAME: OLUMIDE TOLULOPE SAMUEL",
 
32
  interpretation='default').launch()