Spaces:
Running
Running
Update my_model/utilities/ui_manager.py
Browse files
my_model/utilities/ui_manager.py
CHANGED
@@ -62,20 +62,24 @@ class UIManager:
|
|
62 |
|
63 |
def display_finetuning_evaluation(self):
|
64 |
"""Displays the Finetuning and Evaluation Results page."""
|
|
|
65 |
st.title("Finetuning and Evaluation Results")
|
66 |
st.write("This is a Place Holder until the contents are uploaded.")
|
67 |
|
68 |
|
69 |
def display_run_inference(self):
|
70 |
"""Displays the Run Inference page."""
|
|
|
71 |
st.title("Run Inference")
|
72 |
st.write("Please note that this is not a general purpose model, it is specifically trained on [OK-VQA Dataset](https://okvqa.allenai.org/) and desgined to give short and direct answers to the given questions about the given image.")
|
|
|
73 |
inference_runner = InferenceRunner()
|
74 |
inference_runner.run_inference()
|
75 |
|
76 |
|
77 |
def display_dissertation_report(self):
|
78 |
"""Displays the Dissertation Report page."""
|
|
|
79 |
st.title("Dissertation Report")
|
80 |
st.write("Click the link below to view the PDF.")
|
81 |
# Error handling for file access should be considered here
|
|
|
62 |
|
63 |
def display_finetuning_evaluation(self):
|
64 |
"""Displays the Finetuning and Evaluation Results page."""
|
65 |
+
|
66 |
st.title("Finetuning and Evaluation Results")
|
67 |
st.write("This is a Place Holder until the contents are uploaded.")
|
68 |
|
69 |
|
70 |
def display_run_inference(self):
|
71 |
"""Displays the Run Inference page."""
|
72 |
+
|
73 |
st.title("Run Inference")
|
74 |
st.write("Please note that this is not a general purpose model, it is specifically trained on [OK-VQA Dataset](https://okvqa.allenai.org/) and desgined to give short and direct answers to the given questions about the given image.")
|
75 |
+
st.write("\n")
|
76 |
inference_runner = InferenceRunner()
|
77 |
inference_runner.run_inference()
|
78 |
|
79 |
|
80 |
def display_dissertation_report(self):
|
81 |
"""Displays the Dissertation Report page."""
|
82 |
+
|
83 |
st.title("Dissertation Report")
|
84 |
st.write("Click the link below to view the PDF.")
|
85 |
# Error handling for file access should be considered here
|