llm-arch / pages /003_Dissertation.py
alfraser's picture
Updated page as I learnt there should only be one final document
0d9d7ad
raw
history blame
783 Bytes
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 a PDF dcoument. 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/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')
with open('img/overview_presentation.m4v', 'rb') as f:
video_bytes = f.read()
st.video(video_bytes)