ci: automatic Python Formatter changes

This commit is contained in:
github-actions[bot] 2025-03-21 14:56:43 +00:00
parent c705e863d1
commit 740358ae72

View file

@ -74,7 +74,7 @@ def generate_haiku():
if request.method == 'POST': if request.method == 'POST':
json_data = request.get_json() json_data = request.get_json()
prompt = json_data["prompt"] prompt = json_data["prompt"]
if len(prompt)>100: if len(prompt) > 100:
return "Content Too Large", 413 return "Content Too Large", 413
haiku = Haiku.request_haiku(prompt) haiku = Haiku.request_haiku(prompt)
id = store.save_haiku(haiku) id = store.save_haiku(haiku)