Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -1991,7 +1991,7 @@ def testFunction(pdf_path, model,LLM_prompt):
|
|
| 1991 |
encoded_link = '&'.join([f"{key}={value}" for key, value in encoded_params.items()])
|
| 1992 |
|
| 1993 |
# Correctly construct the final URL with page and zoom
|
| 1994 |
-
final_url = f"{baselink}{encoded_link}#page={str(pageNumberFound)}&zoom={zoom_str}"
|
| 1995 |
|
| 1996 |
# Get current date and time
|
| 1997 |
now = datetime.now()
|
|
@@ -2096,7 +2096,7 @@ def testFunction(pdf_path, model,LLM_prompt):
|
|
| 2096 |
encoded_link = '&'.join([f"{key}={value}" for key, value in encoded_params.items()])
|
| 2097 |
|
| 2098 |
# Correctly construct the final URL with page and zoom
|
| 2099 |
-
final_url = f"{baselink}{encoded_link}#page={str(pageNumberFound)}&zoom={zoom_str}"
|
| 2100 |
|
| 2101 |
# Get current date and time
|
| 2102 |
now = datetime.now()
|
|
|
|
| 1991 |
encoded_link = '&'.join([f"{key}={value}" for key, value in encoded_params.items()])
|
| 1992 |
|
| 1993 |
# Correctly construct the final URL with page and zoom
|
| 1994 |
+
# final_url = f"{baselink}{encoded_link}#page={str(pageNumberFound)}&zoom={zoom_str}"
|
| 1995 |
|
| 1996 |
# Get current date and time
|
| 1997 |
now = datetime.now()
|
|
|
|
| 2096 |
encoded_link = '&'.join([f"{key}={value}" for key, value in encoded_params.items()])
|
| 2097 |
|
| 2098 |
# Correctly construct the final URL with page and zoom
|
| 2099 |
+
# final_url = f"{baselink}{encoded_link}#page={str(pageNumberFound)}&zoom={zoom_str}"
|
| 2100 |
|
| 2101 |
# Get current date and time
|
| 2102 |
now = datetime.now()
|