diff --git a/app.py b/app.py index 18c98b6..3d25d54 100644 --- a/app.py +++ b/app.py @@ -39,10 +39,6 @@ def gen_group_pic(): pid = data['pid'] base_image = base64.b64decode(data['base_image']) - # save base image to ./test.png - with open("test.png", "wb") as f: - f.write(base_image) - if not coordinates_list or not canvas_size or not base_image or not pid: return jsonify({"status": "error", "message": "Missing data"}), 422