Pavanmanagoli commited on
Commit
e5e8c03
·
verified ·
1 Parent(s): 64a49da

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +1 -1
src/streamlit_app.py CHANGED
@@ -41,7 +41,7 @@ def detect_language(text):
41
 
42
  @st.cache_resource
43
  def get_vectorstore():
44
- pdf_path = "https://huggingface.co/spaces/Pavanmanagoli/regiowizard/blob/main/bad_breisig_docs.pdf" # Ensure this path is correct on Streamlit Cloud
45
  loaders = [PyPDFLoader(pdf_path)]
46
  return VectorstoreIndexCreator(
47
  embedding=HuggingFaceEmbeddings(model_name='all-MiniLM-L12-v2'),
 
41
 
42
  @st.cache_resource
43
  def get_vectorstore():
44
+ pdf_path = "Pavanmanagoli/regiowizard" # Ensure this path is correct on Streamlit Cloud
45
  loaders = [PyPDFLoader(pdf_path)]
46
  return VectorstoreIndexCreator(
47
  embedding=HuggingFaceEmbeddings(model_name='all-MiniLM-L12-v2'),