Create Model R&D Report.py
Browse files- pag/Model R&D Report.py +12 -0
pag/Model R&D Report.py
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from streamlit_pdf_viewer import pdf_viewer
|
2 |
+
import streamlit as st
|
3 |
+
|
4 |
+
def display_pdf(filename='MS4.pdf'):
|
5 |
+
with open(filename, "rb") as file:
|
6 |
+
file.seek(0)
|
7 |
+
pdf = file.read()
|
8 |
+
pdf_viewer(input=pdf, width=700)
|
9 |
+
|
10 |
+
|
11 |
+
if __name__ == "__main__":
|
12 |
+
display_pdf()
|