Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -53,7 +53,7 @@ def receive_pdf_data():
|
|
| 53 |
|
| 54 |
# Construct the URL in the desired format with the rectangle coordinates
|
| 55 |
download_link = f"{BASE_URL}/view-pdf#page={pageNumTextFound}&zoom={highlight_rect}"
|
| 56 |
-
|
| 57 |
return jsonify({
|
| 58 |
"message": "PDF processed successfully.",
|
| 59 |
"download_link": download_link # Return the formatted URL
|
|
|
|
| 53 |
|
| 54 |
# Construct the URL in the desired format with the rectangle coordinates
|
| 55 |
download_link = f"{BASE_URL}/view-pdf#page={pageNumTextFound}&zoom={highlight_rect}"
|
| 56 |
+
print('download_link',download_link)
|
| 57 |
return jsonify({
|
| 58 |
"message": "PDF processed successfully.",
|
| 59 |
"download_link": download_link # Return the formatted URL
|