I am running this on Colab using localtunnel
Code:
%%writefile project/pages/1_upload.py
import streamlit as st
import tabula
st.set_page_config(page_title=“Upload”)
st.title(“UPLOAD”)
uploaded_file = st.file_uploader(“Choose a file”,type=[“pdf”])
if uploaded_file is not None:
input_df = tabula.read_pdf(uploaded_file)
st.write(input_df)
!streamlit run project/app.py & npx localtunnel --port 8501
I obtained an ipv4 address using:
!wget -q -O - ipv4.icanhazip.com
Running app locally and trying to upload a pdf file and getting an error:
Axios Error:Network Error
File size limit 200MB
Uploaded file size: 650KB