Update app.py
Browse files
app.py
CHANGED
@@ -40,16 +40,16 @@ def answer_question(image, question, model, processor):
|
|
40 |
|
41 |
# Set up the sidebar navigation
|
42 |
st.sidebar.title("Navigation")
|
43 |
-
selection = st.sidebar.radio("Go to", ["Home", "
|
44 |
|
45 |
# Set up the main page content based on navigation selection
|
46 |
if selection == "Home":
|
47 |
-
st.title("
|
48 |
st.write("Home page content goes here...")
|
49 |
# You can include more content for the home page here
|
50 |
|
51 |
-
elif selection == "
|
52 |
-
st.title("
|
53 |
st.write("Click the link below to view the PDF.")
|
54 |
# Example to display a link to a PDF
|
55 |
st.download_button(
|
@@ -58,7 +58,14 @@ elif selection == "View PDF":
|
|
58 |
file_name="example.pdf",
|
59 |
mime="application/octet-stream"
|
60 |
)
|
61 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
62 |
|
63 |
elif selection == "Run Inference":
|
64 |
st.title("Run Inference")
|
|
|
40 |
|
41 |
# Set up the sidebar navigation
|
42 |
st.sidebar.title("Navigation")
|
43 |
+
selection = st.sidebar.radio("Go to", ["Home", "Dataset Analysis", "Evaluation Results", "Run Inference", "Dissertation Report", ])
|
44 |
|
45 |
# Set up the main page content based on navigation selection
|
46 |
if selection == "Home":
|
47 |
+
st.title("MultiModal Learning for Knowledg-Based Visual Question Answering")
|
48 |
st.write("Home page content goes here...")
|
49 |
# You can include more content for the home page here
|
50 |
|
51 |
+
elif selection == "Dissertation Report:
|
52 |
+
st.title("Dissertation Report")
|
53 |
st.write("Click the link below to view the PDF.")
|
54 |
# Example to display a link to a PDF
|
55 |
st.download_button(
|
|
|
58 |
file_name="example.pdf",
|
59 |
mime="application/octet-stream"
|
60 |
)
|
61 |
+
|
62 |
+
elif selection == "Evaluation Results":
|
63 |
+
st.title("Evaluation Results")
|
64 |
+
st.write("This is a Place Holder until the contents are uploaded.")
|
65 |
+
|
66 |
+
elif selection == "Dataset Analysis":
|
67 |
+
st.title("OK-VQA Dataset Analysis")
|
68 |
+
st.write("This is a Place Holder until the contents are uploaded.")
|
69 |
|
70 |
elif selection == "Run Inference":
|
71 |
st.title("Run Inference")
|