mohith96 commited on
Commit
886d4a4
·
verified ·
1 Parent(s): 50c9c66

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -1,5 +1,6 @@
1
  import streamlit as st
2
 
 
3
  uploaded_files = st.file_uploader("Upload PDF files", type=["pdf"], accept_multiple_files=True)
4
 
5
  retriever = None
 
1
  import streamlit as st
2
 
3
+ @st.cache_resource
4
  uploaded_files = st.file_uploader("Upload PDF files", type=["pdf"], accept_multiple_files=True)
5
 
6
  retriever = None