Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -63,7 +63,7 @@ pdf_path = "Private_Book/KH_Reform230124.pdf" # Replace with your PDF file path
|
|
| 63 |
|
| 64 |
pdf_path2 = "Private_Book/Buch_23012024.pdf"
|
| 65 |
|
| 66 |
-
pdf_path3 = "Private_Book/
|
| 67 |
|
| 68 |
api_key = os.getenv("OPENAI_API_KEY")
|
| 69 |
# Retrieve the API key from st.secrets
|
|
@@ -504,7 +504,7 @@ def page3():
|
|
| 504 |
st.error("File not found. Please check the file path.")
|
| 505 |
return
|
| 506 |
|
| 507 |
-
VectorStore = load_vector_store(pdf_path3, "Kosten_Str_2301", force_reload=
|
| 508 |
|
| 509 |
|
| 510 |
|
|
|
|
| 63 |
|
| 64 |
pdf_path2 = "Private_Book/Buch_23012024.pdf"
|
| 65 |
|
| 66 |
+
pdf_path3 = "Private_Book/Kosten_Strukturdaten_RAG_vorbereited.pdf"
|
| 67 |
|
| 68 |
api_key = os.getenv("OPENAI_API_KEY")
|
| 69 |
# Retrieve the API key from st.secrets
|
|
|
|
| 504 |
st.error("File not found. Please check the file path.")
|
| 505 |
return
|
| 506 |
|
| 507 |
+
VectorStore = load_vector_store(pdf_path3, "Kosten_Str_2301", force_reload=True)
|
| 508 |
|
| 509 |
|
| 510 |
|