Spaces:
Runtime error
Runtime error
chore: adding title
Browse files
app.py
CHANGED
|
@@ -13,7 +13,7 @@ image_url = st.text_input(
|
|
| 13 |
)
|
| 14 |
|
| 15 |
# Outputs
|
| 16 |
-
st.title("
|
| 17 |
|
| 18 |
# Preprocess the same image but with normlization.
|
| 19 |
image, preprocessed_image = utils.load_image_from_url(
|
|
@@ -22,6 +22,8 @@ image, preprocessed_image = utils.load_image_from_url(
|
|
| 22 |
)
|
| 23 |
st.image(image, caption="Original Image")
|
| 24 |
|
|
|
|
|
|
|
| 25 |
# Load the DINO model
|
| 26 |
dino = from_pretrained_keras("probing-vits/vit-dino-base16")
|
| 27 |
|
|
|
|
| 13 |
)
|
| 14 |
|
| 15 |
# Outputs
|
| 16 |
+
st.title("Original Image from URL")
|
| 17 |
|
| 18 |
# Preprocess the same image but with normlization.
|
| 19 |
image, preprocessed_image = utils.load_image_from_url(
|
|
|
|
| 22 |
)
|
| 23 |
st.image(image, caption="Original Image")
|
| 24 |
|
| 25 |
+
st.title("Attention Heat Maps")
|
| 26 |
+
|
| 27 |
# Load the DINO model
|
| 28 |
dino = from_pretrained_keras("probing-vits/vit-dino-base16")
|
| 29 |
|