alfraser commited on
Commit
e30a304
·
1 Parent(s): a19a983

Added structure for the final dissertation work product (documents and video).

Browse files
img/dissertation.pdf ADDED
Binary file (7.07 kB). View file
 
img/literature_tech_review.pdf ADDED
Binary file (7.07 kB). View file
 
img/overview_presentation.m4v ADDED
Binary file (851 kB). View file
 
pages/003_Dissertation.py ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+
3
+ from src.st_helpers import st_setup
4
+
5
+ if st_setup('Dissertation'):
6
+ st.write("# Dissertation")
7
+ 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.")
8
+
9
+ st.write("*NOTE - ONLY TEMP FILES RIGHT NOW - THESE WILL BE ADDED WHEN COMPLETE*")
10
+
11
+ with open('img/overview_presentation.m4v', 'rb') as f:
12
+ video_bytes = f.read()
13
+ st.video(video_bytes)
14
+
15
+ with open("img/literature_tech_review.pdf", "rb") as f:
16
+ pdf_bytes = f.read()
17
+ st.download_button(label="Download literature and technology review",
18
+ data=pdf_bytes,
19
+ file_name="literature_tech_review.pdf",
20
+ mime='application/octet-stream')
21
+
22
+ with open("img/dissertation.pdf", "rb") as f:
23
+ pdf_bytes = f.read()
24
+ st.download_button(label="Download dissertation",
25
+ data=pdf_bytes,
26
+ file_name="dissertation.pdf",
27
+ mime='application/octet-stream')
28
+