import streamlit as st | |
import streamlit.components.v1 as components | |
def run_home(): | |
""" | |
Displays the home page for the Knowledge-Based Visual Question Answering (KB-VQA) project using Streamlit. | |
This function sets up the main home page for demonstrating the project. | |
""" | |
st.markdown( | |
""" | |
<div style="text-align: center;"> | |
<h1>Multimodal Learning for Visual Question Answering using World Knowledge</h1> | |
<h2>Knowledge-Based Visual Question Answering (KB-VQA)</h2> | |
</div> | |
""", | |
unsafe_allow_html=True | |
) | |
st.write("""\n\n\nThis is an interactive application built to demonstrate the project developed and allow for interaction with the KB-VQA model as part of the dissertation for Masters degree in Artificial Intelligence at the [University of Bath](https://www.bath.ac.uk/). | |
\n\n\nDeveloped by: [Mohammed H AlHaj](https://www.linkedin.com/in/m7mdal7aj)""") | |
st.write("""## Credits | |
-This project predominantly uses [LLaMA-2](https://ai.meta.com/llama/) and derivative models for language inference. Models are made available under the [Meta LlaMA license](https://ai.meta.com/llama/license/). | |
-This application is built on [streamlit](https://streamlit.io). | |
""") |