vmalapaka commited on
Commit
c9541ee
·
verified ·
1 Parent(s): 3b661f3

Update LoadData.py

Browse files
Files changed (1) hide show
  1. LoadData.py +2 -2
LoadData.py CHANGED
@@ -3,14 +3,14 @@ import streamlit as st
3
  def main():
4
  st.set_page_config("")
5
  st.set_page_config(page_title="Dump PDF to Pinecone - Vector Store")
6
- st.title("Please upload your files...📁 ")
7
 
8
  # Upload the pdf
9
  pdf = st.file_uploader("Only PDF format", type=["pdf"])
10
 
11
  # Extract the whole text from the uploaded pdf file
12
  if pdf is not None:
13
- with st.spinner('Wait for it...'):
14
  text=read_pdf_data(pdf)
15
  st.write("Reading PDF complete")
16
 
 
3
  def main():
4
  st.set_page_config("")
5
  st.set_page_config(page_title="Dump PDF to Pinecone - Vector Store")
6
+ st.title("Upload your files ")
7
 
8
  # Upload the pdf
9
  pdf = st.file_uploader("Only PDF format", type=["pdf"])
10
 
11
  # Extract the whole text from the uploaded pdf file
12
  if pdf is not None:
13
+ with st.spinner('Loading'):
14
  text=read_pdf_data(pdf)
15
  st.write("Reading PDF complete")
16