SRDdev commited on
Commit
87ce27b
·
verified ·
1 Parent(s): 5ae7e04

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -6
app.py CHANGED
@@ -113,17 +113,20 @@ def main():
113
  unsafe_allow_html=True,
114
  )
115
 
116
- st.sidebar.markdown("# Semantic Image Search")
117
- st.sidebar.markdown("**Enter your query and hit enter**")
118
- st.sidebar.markdown("- Click image to find similar images")
119
- st.sidebar.markdown("- Use '**;**' to combine multiple queries")
120
- st.sidebar.markdown("- Use '**EXCLUDING**' to exclude a query")
 
 
 
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: