Spaces:
Running
Running
fix download csv
Browse files
app.py
CHANGED
@@ -209,7 +209,7 @@ from flask import jsonify
|
|
209 |
@app.route('/download_csv', methods=['GET'])
|
210 |
def download_csv():
|
211 |
try:
|
212 |
-
output_file_path = r"inferenced
|
213 |
|
214 |
# Check if the file exists
|
215 |
if os.path.exists(output_file_path):
|
|
|
209 |
@app.route('/download_csv', methods=['GET'])
|
210 |
def download_csv():
|
211 |
try:
|
212 |
+
output_file_path = r"inferenced/output.csv" # path to output CSV file
|
213 |
|
214 |
# Check if the file exists
|
215 |
if os.path.exists(output_file_path):
|