Spaces:
Runtime error
Runtime error
gchhablani
commited on
Commit
•
4d8488a
1
Parent(s):
3b5bd24
Update sidebar info
Browse files- app.py +3 -0
- multiapp.py +0 -1
app.py
CHANGED
@@ -18,6 +18,9 @@ def main():
|
|
18 |
"[Gunjan Chhablani](https://huggingface.co/gchhablani), [Bhavitvya Malik](https://huggingface.co/bhavitvyamalik)"
|
19 |
)
|
20 |
|
|
|
|
|
|
|
21 |
app = MultiApp(state)
|
22 |
app.add_app("Article", article.app)
|
23 |
app.add_app("Visual Question Answering", vqa.app)
|
|
|
18 |
"[Gunjan Chhablani](https://huggingface.co/gchhablani), [Bhavitvya Malik](https://huggingface.co/bhavitvyamalik)"
|
19 |
)
|
20 |
|
21 |
+
st.sidebar.title("Multilingual VQA")
|
22 |
+
st.sidebar.write("Multilingual VQA addresses the challenge of visual question answering in a multilingual setting. Here, we fuse CLIP Vision transformer into BERT and perform pre-training and fine-tuning on translated versions of Conceptual-12M and VQAv2 datasets. Please use the radio buttons below to navigate."
|
23 |
+
#logo = st.sidebar.image("./misc/mvqa-logo-3-white.png")
|
24 |
app = MultiApp(state)
|
25 |
app.add_app("Article", article.app)
|
26 |
app.add_app("Visual Question Answering", vqa.app)
|
multiapp.py
CHANGED
@@ -10,7 +10,6 @@ class MultiApp:
|
|
10 |
self.apps.append({"title": title, "function": func})
|
11 |
|
12 |
def run(self):
|
13 |
-
logo = st.sidebar.image("./misc/mvqa-logo-3-white.png")
|
14 |
st.sidebar.header("Go To:")
|
15 |
app = st.sidebar.radio(
|
16 |
"", self.apps, format_func=lambda app: app["title"]
|
|
|
10 |
self.apps.append({"title": title, "function": func})
|
11 |
|
12 |
def run(self):
|
|
|
13 |
st.sidebar.header("Go To:")
|
14 |
app = st.sidebar.radio(
|
15 |
"", self.apps, format_func=lambda app: app["title"]
|