alfraser commited on
Commit
0d9d7ad
1 Parent(s): 68dcdec

Updated page as I learnt there should only be one final document

Browse files
Files changed (1) hide show
  1. pages/003_Dissertation.py +4 -12
pages/003_Dissertation.py CHANGED
@@ -4,21 +4,10 @@ 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",
@@ -26,3 +15,6 @@ if st_setup('Dissertation'):
26
  file_name="dissertation.pdf",
27
  mime='application/octet-stream')
28
 
 
 
 
 
4
 
5
  if st_setup('Dissertation'):
6
  st.write("# Dissertation")
7
+ 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.")
8
 
9
  st.write("*NOTE - ONLY TEMP FILES RIGHT NOW - THESE WILL BE ADDED WHEN COMPLETE*")
10
 
 
 
 
 
 
 
 
 
 
 
 
11
  with open("img/dissertation.pdf", "rb") as f:
12
  pdf_bytes = f.read()
13
  st.download_button(label="Download dissertation",
 
15
  file_name="dissertation.pdf",
16
  mime='application/octet-stream')
17
 
18
+ with open('img/overview_presentation.m4v', 'rb') as f:
19
+ video_bytes = f.read()
20
+ st.video(video_bytes)