Spaces:
Runtime error
Runtime error
gchhablani
commited on
Commit
•
01fc68e
1
Parent(s):
2bbf92c
Add page configuration
Browse files
app.py
CHANGED
@@ -23,6 +23,14 @@ dummy_data = pd.read_csv('dummy_vqa_multilingual.tsv', sep='\t')
|
|
23 |
with open('answer_reverse_mapping.json') as f:
|
24 |
answer_reverse_mapping = json.load(f)
|
25 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
# Init Session State
|
27 |
if 'image_file' not in st.session_state:
|
28 |
st.session_state.image_file = dummy_data.loc[0,'image_file']
|
|
|
23 |
with open('answer_reverse_mapping.json') as f:
|
24 |
answer_reverse_mapping = json.load(f)
|
25 |
|
26 |
+
|
27 |
+
|
28 |
+
st.set_page_config(
|
29 |
+
page_title="Multilingual VQA",
|
30 |
+
layout="wide",
|
31 |
+
initial_sidebar_state="collapsed",
|
32 |
+
)
|
33 |
+
|
34 |
# Init Session State
|
35 |
if 'image_file' not in st.session_state:
|
36 |
st.session_state.image_file = dummy_data.loc[0,'image_file']
|