CosmoAI commited on
Commit
794902a
·
1 Parent(s): c96df93
Files changed (1) hide show
  1. Home.py +1 -1
Home.py CHANGED
@@ -14,7 +14,7 @@ visualqna = pipeline(model="dandelin/vilt-b32-finetuned-vqa")
14
 
15
  def load_image():
16
  with st.sidebar:
17
- if img := st.text_input("Enter Image URL") or st.selectbox("Select Image", ("Upload Image", "Cancel")):
18
  if st.button("Load Image"):
19
  st.write("Image Uploaded!")
20
  st.image(img)
 
14
 
15
  def load_image():
16
  with st.sidebar:
17
+ if img := st.text_input("Enter Image URL") or st.selectbox("Select Image", ("https://unsplash.com/photos/dSBJv66Yjlk", "https://unsplash.com/photos/yP57S4OhBgI")):
18
  if st.button("Load Image"):
19
  st.write("Image Uploaded!")
20
  st.image(img)