For text search, this seems to be using trigrams or something? I tried “tired” and got a lot of “fired”, “required”, etc. not useful for me, since I usually want a meme to match a mood or theme
Show HN: AI powered meme search, open-source
31–34 of 34 posts
Re: Show HN: AI powered meme search, open-source
#32For text search, this seems to be using trigrams or something? I tried “tired” and got a lot of “fired”, “required”, etc. not useful for me, since I usually want a meme to match a mood or theme
The trigram thing might just be a weird glitch in the pretrained model we're using (sentence-transformers/paraphrase-distilroberta-base-v1)
Re: Show HN: AI powered meme search, open-source
#33Earlier quoted context omitted.
Is this comment on the wrong post?
I guess this comment was meant for https://notegarden.web.app/ on https://news.ycombinator.com/item?id=28400446
Re: Show HN: AI powered meme search, open-source
#34Earlier quoted context omitted.
I tried finding this - https://knowyourmeme.com/memes/who-killed-hannibal "Eric andre shoot" | "Eric andre kill"...I'm getting the drake meme. But searching for "Who killed" works. Also this might just be me but it would be nice if the search bar also worked by pressing "Enter" after a query.
That's a restriction in the front-end framework unfortunately :( Really hoping Streamlit supports that in future.
This should just work out of the box in Streamlit:
caption = st.text_input("Meme subject or caption")
if caption: # do search here
If that doesn't work for you, do you mind posting in our forums? I'd love to get to the bottom of this!
Forums → https://discuss.streamlit.io
(Cool app, btw!)