awacke1 commited on
Commit
b3b6ab8
1 Parent(s): 16e42b5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -144,7 +144,12 @@ def main():
144
  if "query" in st.session_state:
145
  query = c.text_input("", value=st.session_state["query"])
146
  else:
147
- query = c.text_input("", value="artificial intelligence")
 
 
 
 
 
148
  corpus = st.radio("", ["Unsplash", "Movies"])
149
  if len(query) > 0:
150
  results = image_search(query, corpus)
 
144
  if "query" in st.session_state:
145
  query = c.text_input("", value=st.session_state["query"])
146
  else:
147
+ # Unsplash has categories that match: backgrounds, photos, nature, iphone, etc
148
+ # Unsplash images contain animals, apps, events, feelings, food, travel, nature, people, religion, sports, things, stock
149
+ # Unsplash things include flag, tree, clock, money, tattoo, arrow, book, car, fireworks, ghost, health, kiss, dance, balloon, crown, eye, house, music, airplane, lighthouse, typewriter, toys
150
+ # unsplash feelings include funny, heart, love, cool, congratulations, love, scary, cute, friendship, inspirational, hug, sad, cursed, beautiful, crazy, respect, transformation, peaceful, happy
151
+ # unsplash people contain baby, life, women, family, girls, pregnancy, society, old people, musician, attractive, bohemian
152
+ query = c.text_input("", value="health; artificial intelligence")
153
  corpus = st.radio("", ["Unsplash", "Movies"])
154
  if len(query) > 0:
155
  results = image_search(query, corpus)