Spaces:
Build error
Build error
vincentclaes
commited on
Commit
•
0df1067
1
Parent(s):
08c842e
update description
Browse files
app.py
CHANGED
@@ -28,5 +28,6 @@ def get_emoji(text, model=model, processor=processor, emojis=emojis_as_images, K
|
|
28 |
|
29 |
text = gr.inputs.Textbox()
|
30 |
title = "Predicting an Emoji"
|
|
|
31 |
examples = ["I'm so glad I finally arrived in my holiday resort!"]
|
32 |
gr.Interface(fn=get_emoji, inputs=text, outputs=gr.Gallery(), examples=examples, title=title).launch()
|
|
|
28 |
|
29 |
text = gr.inputs.Textbox()
|
30 |
title = "Predicting an Emoji"
|
31 |
+
description = "Enter a text and we will try to predict an emoji.\nThe model is a few shot fine tuned CLIP model trained on images of emoji's."
|
32 |
examples = ["I'm so glad I finally arrived in my holiday resort!"]
|
33 |
gr.Interface(fn=get_emoji, inputs=text, outputs=gr.Gallery(), examples=examples, title=title).launch()
|