Albatta, bu erda Flask serverining yangilangan versiyasi bo'lib, u so'rovni Sezar shifr bilan shifrlaydi va shifr matnini qaytaradi: ``` flask importidan Flask, so'rov app = Flask ((name) @app.route (('/', methods=['POST']) def : request_body = request.get_json (((force=True) input_text = request_body ['input'] shift = request_body.get' shift ', 0) # opsional shift parametrini encrypted_text = caesar_cipher (((input_text, shift) return {'ciphertext': encrypted_text} defesar_cipher, (((text): shifted 'encrypt' = char char text: if char.isal. char char = char char
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence