From 39bf9f939e8cae252516267c53702422ba176d78 Mon Sep 17 00:00:00 2001 From: Gene Kogan Date: Sat, 9 Mar 2024 14:07:41 -0800 Subject: [PATCH] callback --- app/animations/little_martians.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/animations/little_martians.py b/app/animations/little_martians.py index 8a804f6..f9385a4 100644 --- a/app/animations/little_martians.py +++ b/app/animations/little_martians.py @@ -18,7 +18,7 @@ def random_interval(min, max): return random.random() * (max - min) + min -def little_martian_poster(request: LittleMartianRequest): +def little_martian_poster(request: LittleMartianRequest, callback=None): params = {"temperature": 1.0, "max_tokens": 2000, **request.params} data = littlemartians_data[request.martian.value][request.setting.value][request.genre.value]