This commit is contained in:
sun-guannan
2025-07-24 17:05:27 +08:00
parent b830a1dfaf
commit 41c7a6c0a4

View File

@@ -412,11 +412,8 @@ def add_text():
return jsonify(result)
except Exception as e:
if is_chinese:
error_message = f"Error occurred while processing text: {str(e)}. You can click the link below for help: "
else:
error_message = f"Error occurred while processing text: {str(e)}. You can click the link below for help: "
result["error"] = error_message + purchase_link
result["error"] = error_message
return jsonify(result)
@app.route('/add_image', methods=['POST'])