File size: 1,395 Bytes
aa9fe38 484de35 aa9fe38 84c85ca 814ed9a 6040c77 814ed9a |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
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).
""") |