this
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", ("
|
| 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)
|