vincentclaes commited on
Commit
d0fadab
1 Parent(s): 8b891df

add example

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -27,5 +27,5 @@ def get_emoji(text, model=model, processor=processor, emojis=emojis_as_images, K
27
 
28
  text = gr.inputs.Textbox()
29
  title = "Predicting an Emoji"
30
-
31
- gr.Interface(fn=get_emoji, inputs=text, outputs=gr.Gallery(), title=title, enable_queue=True).launch(debug=True)
 
27
 
28
  text = gr.inputs.Textbox()
29
  title = "Predicting an Emoji"
30
+ examples = ["I'm so glad I finally arrived in my holiday resort!"]
31
+ gr.Interface(fn=get_emoji, inputs=text, outputs=gr.Gallery(), examples=examples, title=title).launch()