ariG23498 commited on
Commit
d7f67d7
1 Parent(s): 2379fef

chore: title swapping places

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -12,6 +12,9 @@ image_url = st.text_input(
12
  placeholder="https://your-favourite-image.png"
13
  )
14
 
 
 
 
15
  # Preprocess the same image but with normlization.
16
  image, preprocessed_image = utils.load_image_from_url(
17
  image_url,
@@ -41,5 +44,4 @@ utils.plot(attentions=attentions, image=preprocessed_img_orig)
41
 
42
  # Show the attention maps
43
  image = Image.open("heat_map.png")
44
- st.title("Attention Heat Maps")
45
  st.image(image, caption="Attention Heat Maps")
 
12
  placeholder="https://your-favourite-image.png"
13
  )
14
 
15
+ # Outputs
16
+ st.title("Attention Heat Maps")
17
+
18
  # Preprocess the same image but with normlization.
19
  image, preprocessed_image = utils.load_image_from_url(
20
  image_url,
 
44
 
45
  # Show the attention maps
46
  image = Image.open("heat_map.png")
 
47
  st.image(image, caption="Attention Heat Maps")