Vivien commited on
Commit ·
e3b2cc5
1
Parent(s): 7600dc3
Specify number of pictures
Browse files48 unmodified lines495051525253545527 unmodified lines838485868687888948 unmodified lines
**Enter your query and hit enter**
*Built with OpenAI's [CLIP](https://openai.com/blog/clip/) model, 🤗 Hugging Face's [transformers library](https://huggingface.co/transformers/), [Streamlit](https://streamlit.io/) and images from [Unsplash](https://unsplash.com/) and [The Movie Database (TMDB)](https://www.themoviedb.org/)**Built with OpenAI's [CLIP](https://openai.com/blog/clip/) model, 🤗 Hugging Face's [transformers library](https://huggingface.co/transformers/), [Streamlit](https://streamlit.io/), 25k images from [Unsplash](https://unsplash.com/) and 8k images from [The Movie Database (TMDB)](https://www.themoviedb.org/)*'''
def main():27 unmodified lines unsafe_allow_html=True) st.sidebar.markdown(description) _, c, _ = st.beta_columns((1, 3, 1)) query = c.text_input('') query = c.text_input('clouds at sunset') corpus = st.radio('', ["Unsplash","Movies"]) if len(query) > 0: results = image_search(query, corpus)app.py+2-2