gchhablani commited on
Commit
70de33c
β€’
1 Parent(s): 44c11f2

Fix app and itnro

Browse files
apps/article.py CHANGED
@@ -1,7 +1,7 @@
1
  import streamlit as st
2
  from apps.utils import read_markdown
3
 
4
- def app():
5
  st.write(read_markdown("abstract.md"))
6
  st.write(read_markdown("caveats.md"))
7
  st.write("## Methodology")
 
1
  import streamlit as st
2
  from apps.utils import read_markdown
3
 
4
+ def app(state):
5
  st.write(read_markdown("abstract.md"))
6
  st.write(read_markdown("caveats.md"))
7
  st.write("## Methodology")
sections/mlm_intro.md CHANGED
@@ -2,4 +2,4 @@ This demo uses a [CLIP-Vision-Bert model checkpoint](https://huggingface.co/flax
2
 
3
  The model can be used for mask-filling as shown in this demo. The caption can be present or written in any of the following: English, French, German and Spanish.
4
 
5
- For more details, click on `Usage` or `Article` πŸ€— above.
 
2
 
3
  The model can be used for mask-filling as shown in this demo. The caption can be present or written in any of the following: English, French, German and Spanish.
4
 
5
+ For more details, click on `Usage` above or `Article` on the sidebar. πŸ€—
sections/vqa_intro.md CHANGED
@@ -2,4 +2,4 @@ This demo uses a [CLIP-Vision-Bert model checkpoint](https://huggingface.co/flax
2
 
3
  The model predicts one out of 3129 classes in English which can be found [here](https://huggingface.co/spaces/flax-community/Multilingual-VQA/blob/main/answer_reverse_mapping.json), and then the translated versions are provided based on the language chosen as `Answer Language`. The question can be present or written in any of the following: English, French, German and Spanish.
4
 
5
- For more details, click on `Usage` or `Article` πŸ€— above.
 
2
 
3
  The model predicts one out of 3129 classes in English which can be found [here](https://huggingface.co/spaces/flax-community/Multilingual-VQA/blob/main/answer_reverse_mapping.json), and then the translated versions are provided based on the language chosen as `Answer Language`. The question can be present or written in any of the following: English, French, German and Spanish.
4
 
5
+ For more details, click on `Usage` above or `Article` on the sidebar. πŸ€—