Spaces:
Build error
Build error
vincentclaes
commited on
Commit
•
d0fadab
1
Parent(s):
8b891df
add example
Browse files
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(),
|
|
|
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()
|