Spaces:
Sleeping
Sleeping
update app.py
Browse files
app.py
CHANGED
@@ -112,7 +112,7 @@ def highlight_pdf(file_path, text_to_highlight, page_numbers):
|
|
112 |
|
113 |
return temp_pdf_path
|
114 |
|
115 |
-
file_path = "
|
116 |
text_to_highlight = ""
|
117 |
sources = []
|
118 |
|
@@ -218,7 +218,7 @@ def chat_actions():
|
|
218 |
)
|
219 |
# break;
|
220 |
# Example usage
|
221 |
-
file_path = "
|
222 |
text_to_highlight = context_text.strip()
|
223 |
display_highlighted_pdf(file_path, response_text, sources)
|
224 |
|
|
|
112 |
|
113 |
return temp_pdf_path
|
114 |
|
115 |
+
file_path = "Bhagavad-Gita-As-It-Is.pdf"
|
116 |
text_to_highlight = ""
|
117 |
sources = []
|
118 |
|
|
|
218 |
)
|
219 |
# break;
|
220 |
# Example usage
|
221 |
+
file_path = "Bhagavad-Gita-As-It-Is.pdf"
|
222 |
text_to_highlight = context_text.strip()
|
223 |
display_highlighted_pdf(file_path, response_text, sources)
|
224 |
|