PowerPointAI / app.py
sarim's picture
read pdf
555d2a8
raw
history blame
406 Bytes
import streamlit as st
from streamlit_pdf_reader import pdf_reader
import pdfplumber
uploaded_files = st.file_uploader('Choose your .pdf file')
if uploaded_files is not None:
# To read file as bytes:
bytes_data = uploaded_files.read()
st.write(bytes_data)
x = st.slider('Select a value')
url_1 = st.text_input(label="Enter research paper url",key="url_1")
st.write(x, 'squared is', x * x)