Spaces:
Runtime error
Runtime error
| import streamlit as st | |
| from src.st_helpers import st_setup | |
| if st_setup('Dissertation'): | |
| st.write("# Dissertation") | |
| st.write("The dissertation is delivered as two documents (a literature and technology review, and the main dissertation document). In addition, the submission is supported by a short video giving an overview of the project for orientation.") | |
| st.write("*NOTE - ONLY TEMP FILES RIGHT NOW - THESE WILL BE ADDED WHEN COMPLETE*") | |
| with open('img/overview_presentation.m4v', 'rb') as f: | |
| video_bytes = f.read() | |
| st.video(video_bytes) | |
| with open("img/literature_tech_review.pdf", "rb") as f: | |
| pdf_bytes = f.read() | |
| st.download_button(label="Download literature and technology review", | |
| data=pdf_bytes, | |
| file_name="literature_tech_review.pdf", | |
| mime='application/octet-stream') | |
| with open("img/dissertation.pdf", "rb") as f: | |
| pdf_bytes = f.read() | |
| st.download_button(label="Download dissertation", | |
| data=pdf_bytes, | |
| file_name="dissertation.pdf", | |
| mime='application/octet-stream') | |