mobixconsulting commited on
Commit
8c1fc61
1 Parent(s): cdbd21c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ from langchain.chat_models import ChatOpenAI
8
  os.environ['OPENAI_API_KEY'] ="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"
9
 
10
  from langchain.document_loaders import DirectoryLoader
11
- pdf_loader = DirectoryLoader('reportes', glob="**/*.pdf")
12
 
13
  #Crear loader
14
  loaders = [pdf_loader]
 
8
  os.environ['OPENAI_API_KEY'] ="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"
9
 
10
  from langchain.document_loaders import DirectoryLoader
11
+ pdf_loader = DirectoryLoader('archivos', glob="**/*.pdf")
12
 
13
  #Crear loader
14
  loaders = [pdf_loader]