Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -80,7 +80,7 @@ def view_pdf():
|
|
| 80 |
print("⚙️ Using cached PDF — already processed.")
|
| 81 |
|
| 82 |
# Pass page & zoom to the viewer
|
| 83 |
-
return render_template("
|
| 84 |
|
| 85 |
|
| 86 |
@app.route('/get-pdf')
|
|
|
|
| 80 |
print("⚙️ Using cached PDF — already processed.")
|
| 81 |
|
| 82 |
# Pass page & zoom to the viewer
|
| 83 |
+
return render_template("gui.html", start_page=page, start_zoom=zoom)
|
| 84 |
|
| 85 |
|
| 86 |
@app.route('/get-pdf')
|