Update Home.py
Browse files
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", ("https://unsplash.com/
|
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://images.unsplash.com/photo-1593466144596-8abd50ad2c52?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=3434&q=80", "https://images.unsplash.com/photo-1566438480900-0609be27a4be?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=3394&q=80")):
|
18 |
if st.button("Load Image"):
|
19 |
st.write("Image Uploaded!")
|
20 |
st.image(img)
|