Marthee commited on
Commit
952fa34
·
verified ·
1 Parent(s): d83aa69

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -8
app.py CHANGED
@@ -40,14 +40,6 @@ def download_pdf():
40
  download_name="downloaded_document.pdf"
41
  )
42
 
43
- @app.route('/view-pdf', methods=['GET'])
44
- def view_pdf():
45
- """
46
- Render an HTML page with the iframe to display the PDF.
47
- """
48
- return render_template('gui.html') # Ensure this file exists in the 'templates' folder
49
-
50
-
51
  if __name__ == '__main__':
52
  app.run(host='0.0.0.0', port=7860)
53
 
 
40
  download_name="downloaded_document.pdf"
41
  )
42
 
 
 
 
 
 
 
 
 
43
  if __name__ == '__main__':
44
  app.run(host='0.0.0.0', port=7860)
45