Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,12 +8,6 @@ app = Flask(__name__)
|
|
| 8 |
def getInfotoMeasure():
|
| 9 |
return render_template("gui.html")
|
| 10 |
# Route to serve the PDF in iframe
|
| 11 |
-
from flask import Flask, send_file, render_template
|
| 12 |
-
import requests
|
| 13 |
-
from io import BytesIO
|
| 14 |
-
|
| 15 |
-
app = Flask(__name__)
|
| 16 |
-
|
| 17 |
@app.route('/download-pdf', methods=['GET'])
|
| 18 |
def download_pdf():
|
| 19 |
"""
|
|
|
|
| 8 |
def getInfotoMeasure():
|
| 9 |
return render_template("gui.html")
|
| 10 |
# Route to serve the PDF in iframe
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
@app.route('/download-pdf', methods=['GET'])
|
| 12 |
def download_pdf():
|
| 13 |
"""
|