bhavitvyamalik commited on
Commit
faa7c0d
1 Parent(s): abbfb41
Files changed (2) hide show
  1. app.py +5 -5
  2. misc/Spanish-IC.png +0 -0
app.py CHANGED
@@ -72,10 +72,10 @@ with st.beta_expander("Usage"):
72
  with st.beta_expander("Article"):
73
  st.write(read_markdown("abstract.md"))
74
  st.write(read_markdown("caveats.md"))
75
- # st.write("# Methodology")
76
- # st.image(
77
- # "./misc/Multilingual-IC.png", caption="Seq2Seq model for Image-text Captioning."
78
- # )
79
  st.markdown(read_markdown("pretraining.md"))
80
  st.write(read_markdown("challenges.md"))
81
  st.write(read_markdown("social_impact.md"))
@@ -117,7 +117,7 @@ if new_col2.button("Get a random example", help="Get a random example from one o
117
  image_path = os.path.join("images", state.image_file)
118
  image = plt.imread(image_path)
119
  state.image = image
120
-
121
  # Display Reference Caption
122
  new_col2.write("**Reference Caption**: " + state.caption)
123
  new_col2.markdown(
72
  with st.beta_expander("Article"):
73
  st.write(read_markdown("abstract.md"))
74
  st.write(read_markdown("caveats.md"))
75
+ st.write("# Methodology")
76
+ st.image(
77
+ "./misc/Spanish-IC.png", caption="Seq2Seq model for Image-text Captioning."
78
+ )
79
  st.markdown(read_markdown("pretraining.md"))
80
  st.write(read_markdown("challenges.md"))
81
  st.write(read_markdown("social_impact.md"))
117
  image_path = os.path.join("images", state.image_file)
118
  image = plt.imread(image_path)
119
  state.image = image
120
+
121
  # Display Reference Caption
122
  new_col2.write("**Reference Caption**: " + state.caption)
123
  new_col2.markdown(
misc/Spanish-IC.png ADDED