Spaces:
Runtime error
Runtime error
File size: 1,178 Bytes
e30a304 |
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 28 29 |
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')
|