amydeng2000 commited on
Commit
bb4af11
·
1 Parent(s): 1eb26c4

add thumbnail, description

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -12,8 +12,10 @@ def classify_image(img):
12
  image = gr.Image()
13
  label = gr.Label()
14
  examples = ['Beijing_hot_pot.jpg', 'chinese_hot_pot.jpg', 'Korean_hot_pot.jpg']
15
- title = "Hot Pot Classifier -- Chinese or Korean?"
16
  description = "Build with <3 by your biggest hot pot fan!"
 
17
 
18
- demo = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples, allow_flagging = "never")
 
19
  demo.launch(inline=False)
 
12
  image = gr.Image()
13
  label = gr.Label()
14
  examples = ['Beijing_hot_pot.jpg', 'chinese_hot_pot.jpg', 'Korean_hot_pot.jpg']
15
+ title = "Hot Pot Classifier " + "\N{face savoring food}" + "-- Chinese or Korean?"
16
  description = "Build with <3 by your biggest hot pot fan!"
17
+ thumbnail = “https://w7.pngwing.com/pngs/151/297/png-transparent-fondue-yo-hot-pot-menu-cooking-pot-food-orange-cooking-thumbnail.png”
18
 
19
+
20
+ demo = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples, allow_flagging = "never", title=title, description=description, thumbnail=thumbnail)
21
  demo.launch(inline=False)