Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -113,17 +113,20 @@ def main():
|
|
113 |
unsafe_allow_html=True,
|
114 |
)
|
115 |
|
116 |
-
st.
|
117 |
-
st.sidebar.
|
118 |
-
|
119 |
-
|
120 |
-
|
|
|
|
|
|
|
121 |
|
122 |
if "query" in st.session_state:
|
123 |
query = st.sidebar.text_input("Query", value=st.session_state["query"])
|
124 |
else:
|
125 |
query = st.sidebar.text_input("Query", value="lighthouse")
|
126 |
-
corpus = st.sidebar.radio("Corpus", ["Unsplash"])
|
127 |
|
128 |
if st.sidebar.button("Submit"):
|
129 |
if len(query) > 0:
|
|
|
113 |
unsafe_allow_html=True,
|
114 |
)
|
115 |
|
116 |
+
st.markdown("# CLIP Image Search")
|
117 |
+
st.sidebar.info("""
|
118 |
+
**Enter your query and hit enter**
|
119 |
+
|
120 |
+
- Click image to find similar images
|
121 |
+
- Use ';'' to combine multiple queries
|
122 |
+
- Use 'EXCLUDING' to exclude a query
|
123 |
+
""")
|
124 |
|
125 |
if "query" in st.session_state:
|
126 |
query = st.sidebar.text_input("Query", value=st.session_state["query"])
|
127 |
else:
|
128 |
query = st.sidebar.text_input("Query", value="lighthouse")
|
129 |
+
# corpus = st.sidebar.radio("Corpus", ["Unsplash"])
|
130 |
|
131 |
if st.sidebar.button("Submit"):
|
132 |
if len(query) > 0:
|