cdancy commited on
Commit
97d29d0
Β·
1 Parent(s): bad987e

Debug file issue

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -116,6 +116,7 @@ if torch.cuda.is_available():
116
  embeddings = LangchainEmbedding(HuggingFaceEmbeddings(model_name="all-MiniLM-L6-v2"))
117
  service_context = ServiceContext.from_defaults(chunk_size=1024, llm=llm, embed_model=embeddings)
118
  set_global_service_context(service_context)
 
119
  file_path = Path(os.getcwd() + "/files/Full Pamplet.pdf")
120
  documents = read_pdf_to_documents(file_path)
121
  index = VectorStoreIndex.from_documents(documents)
 
116
  embeddings = LangchainEmbedding(HuggingFaceEmbeddings(model_name="all-MiniLM-L6-v2"))
117
  service_context = ServiceContext.from_defaults(chunk_size=1024, llm=llm, embed_model=embeddings)
118
  set_global_service_context(service_context)
119
+ print(os.listdir())
120
  file_path = Path(os.getcwd() + "/files/Full Pamplet.pdf")
121
  documents = read_pdf_to_documents(file_path)
122
  index = VectorStoreIndex.from_documents(documents)