diff --git a/run.py b/run.py index 3c5055b..53f02a2 100644 --- a/run.py +++ b/run.py @@ -149,7 +149,7 @@ def run_ts_predict(): resp.headers["Content-Disposition"] = "attachment; filename*=utf-8''{}".format(file_name) resp.headers["Content-type"] = "application/x-xlsx" else: - resp = make_response(resp_info) + resp = make_response(json.dumps(resp_info)) resp.status_code = 200 return resp