Field-Monitoring / pag /Model R&D Report.py
ammarnasr's picture
Create Model R&D Report.py
26f91dd verified
raw
history blame
276 Bytes
from streamlit_pdf_viewer import pdf_viewer
import streamlit as st
def display_pdf(filename='MS4.pdf'):
with open(filename, "rb") as file:
file.seek(0)
pdf = file.read()
pdf_viewer(input=pdf, width=700)
if __name__ == "__main__":
display_pdf()