Predicting Emoji Demo
I used Open Ai's CLIP model on both text (tweets) and images of emoji's!
When the user provides a sentence, the CLIP model will suggest 4 from the following emoji's:
- Please install Python 3.10: https://www.python.org/downloads/release/python-3100/
- How to run
pip install gradio torch more_itertools transformers python app.py
- Visit
Note
I used the Gradio package to build this demo.
We can build the separate frontend for UI and make it call this demo as a backend api in the real product.
We can increase the choice of emojis by adding them in the emojis folder.