Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,10 @@ load_dotenv()
|
|
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 |
direct_url = f"https://drive.google.com/uc?export=download&id={file_id}"
|
24 |
|
25 |
# Now load the document using the direct URL
|
|
|
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 |
+
#direct_url = f"https://drive.google.com/uc?export=download&id={file_id}"
|
24 |
+
|
25 |
+
file_id = "13SnE3qHEeXh27iPsaOlr7H0npQrHxrK5"
|
26 |
direct_url = f"https://drive.google.com/uc?export=download&id={file_id}"
|
27 |
|
28 |
# Now load the document using the direct URL
|