import streamlit as st import pytesseract from io import StringIO uploaded_file = st.file_uploader("Choose a file") if uploaded_file is not None: extractedInformation = pytesseract.image_to_string(uploaded_file) st.write(extractedInformation)