gchhablani commited on
Commit
37c757a
1 Parent(s): 865ae27

Change demo intros to info component

Browse files
Files changed (2) hide show
  1. apps/mlm.py +1 -1
  2. apps/vqa.py +1 -1
apps/mlm.py CHANGED
@@ -28,7 +28,7 @@ def app(state):
28
 
29
  with st.beta_expander("Usage"):
30
  st.write(read_markdown("mlm_usage.md"))
31
- st.write(read_markdown("mlm_intro.md"))
32
 
33
  # @st.cache(persist=False) # TODO: Make this work with mlm_state. Currently not supported.
34
  def predict(transformed_image, caption_inputs):
 
28
 
29
  with st.beta_expander("Usage"):
30
  st.write(read_markdown("mlm_usage.md"))
31
+ st.info(read_markdown("mlm_intro.md"))
32
 
33
  # @st.cache(persist=False) # TODO: Make this work with mlm_state. Currently not supported.
34
  def predict(transformed_image, caption_inputs):
apps/vqa.py CHANGED
@@ -32,7 +32,7 @@ def app(state):
32
 
33
  with st.beta_expander("Usage"):
34
  st.write(read_markdown("vqa_usage.md"))
35
- st.write(read_markdown("vqa_intro.md"))
36
 
37
  # @st.cache(persist=False)
38
  def predict(transformed_image, question_inputs):
 
32
 
33
  with st.beta_expander("Usage"):
34
  st.write(read_markdown("vqa_usage.md"))
35
+ st.info(read_markdown("vqa_intro.md"))
36
 
37
  # @st.cache(persist=False)
38
  def predict(transformed_image, question_inputs):