Jkalonji commited on
Commit
9b8afb3
1 Parent(s): f816e10

point towards data folder

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -28,7 +28,7 @@ def RAG_Langchain(query):
28
  embeddings = SentenceTransformerEmbeddings(model_name=model_name)
29
  repo_id = "llmware/bling-sheared-llama-1.3b-0.1"
30
 
31
- loader = DirectoryLoader('', glob="**/*.txt", show_progress=True, loader_cls=PyPDFLoader)
32
 
33
  documents = loader.load()
34
 
 
28
  embeddings = SentenceTransformerEmbeddings(model_name=model_name)
29
  repo_id = "llmware/bling-sheared-llama-1.3b-0.1"
30
 
31
+ loader = DirectoryLoader('data/', glob="**/*.pdf", show_progress=True, loader_cls=PyPDFLoader)
32
 
33
  documents = loader.load()
34