MikeCraBash commited on
Commit
09705a0
1 Parent(s): 4b6b36a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -19,12 +19,11 @@ load_dotenv()
19
  from langchain.document_loaders import PyMuPDFLoader
20
 
21
  # Adjust the URL to the direct download format
22
- file_id = "1UQnaQjBKKyWAiLdr6UlwSJovOp9zDdxr"
23
  #file_id = "1JeA-w4kvbI3GHk9Dh_j19_Q0JUDE7hse"
24
  # file_id = "12cvKg19CJf-wt98q5sPJctjp5fW-nsh6" //Used for MLOps Meetup
 
25
  direct_url = f"https://drive.google.com/uc?export=download&id={file_id}"
26
 
27
-
28
  # Now load the document using the direct URL
29
  docs = PyMuPDFLoader(direct_url).load()
30
 
 
19
  from langchain.document_loaders import PyMuPDFLoader
20
 
21
  # Adjust the URL to the direct download format
 
22
  #file_id = "1JeA-w4kvbI3GHk9Dh_j19_Q0JUDE7hse"
23
  # file_id = "12cvKg19CJf-wt98q5sPJctjp5fW-nsh6" //Used for MLOps Meetup
24
+ file_id = "1JeA-w4kvbI3GHk9Dh_j19_Q0JUDE7hse"
25
  direct_url = f"https://drive.google.com/uc?export=download&id={file_id}"
26
 
 
27
  # Now load the document using the direct URL
28
  docs = PyMuPDFLoader(direct_url).load()
29