File size: 666 Bytes
e30a304
 
 
 
 
 
0d9d7ad
e30a304
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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')