Convert a short sentence or headline to a single, recommended emoji. By Drew Breunig.

This demo pings a small API which uses the CLIP model to generate an embedding for your input. It then compares this value to precomputed embeddings for a curated subset of emojis. You can check out the code here.

It may respond slowly to your first request, but this is the API machine standing up. The embedding and comparison process is really quite fast.