Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -82,7 +82,7 @@ def index():
|
|
82 |
"""Serve the HTML page for the user interface"""
|
83 |
return render_template('index.html')
|
84 |
|
85 |
-
UPLOAD_FOLDER = "uploaded_files"
|
86 |
os.makedirs(UPLOAD_FOLDER, exist_ok=True) # Ensure the folder exists
|
87 |
|
88 |
@app.route('/upload_pdf', methods=['POST'])
|
|
|
82 |
"""Serve the HTML page for the user interface"""
|
83 |
return render_template('index.html')
|
84 |
|
85 |
+
UPLOAD_FOLDER = "/tmp/uploaded_files"
|
86 |
os.makedirs(UPLOAD_FOLDER, exist_ok=True) # Ensure the folder exists
|
87 |
|
88 |
@app.route('/upload_pdf', methods=['POST'])
|