from apps import mlm, vqa, article import streamlit as st from session import _get_state from multiapp import MultiApp from apps.utils import read_markdown def main(): state = _get_state() st.set_page_config( page_title="Multilingual VQA", layout="wide", initial_sidebar_state="collapsed", page_icon="./misc/mvqa-logo-3-white.png", ) st.title("Multilingual Visual Question Answering") st.write( "[Gunjan Chhablani](https://huggingface.co/gchhablani), [Bhavitvya Malik](https://huggingface.co/bhavitvyamalik)" ) app = MultiApp(state) app.add_app("Article", article.app) app.add_app("Visual Question Answering", vqa.app) app.add_app("Mask Filling", mlm.app) app.run() state.sync() if __name__ == "__main__": main()