Commit Graph

12 Commits

Author SHA1 Message Date
Abi Raja
8de0e95c54 fix up types 2024-06-05 15:12:47 -04:00
Naman
d31ebcaa27 types fix in image generation file 2024-05-29 07:11:03 +05:30
Abi Raja
3a23d9eae3 add pyright as part of pre-commit (but disable it for now due to failing type check) 2024-03-05 13:50:55 -05:00
Abi Raja
6a28ee2d3c strictly type python backend 2023-12-09 15:34:16 -05:00
Abi Raja
a98b9d83f0 close OpenAI client 2023-12-03 14:45:39 -05:00
Nothing1024
e69269d844 Feat: OpenAI Base URL supported 2023-11-21 16:05:23 +08:00
Abi Raja
ee9b40d990 support setting openai api key on the client side 2023-11-16 18:12:07 -05:00
Abi Raja
68dd33cf06 return early if there are no images to replace 2023-11-16 15:11:54 -05:00
Abi Raja
640f41619c prettify code after image generation 2023-11-16 14:43:50 -05:00
Abi Raja
c061c9b610 improve image cache so we don't re-generate the same images on update 2023-11-15 17:31:01 -05:00
Abi Raja
7ed13c5fd4 only need to generate images that use placeholders from https://placehold.co 2023-11-15 16:19:06 -05:00
Abi Raja
51c7334c0e add image generation for placeholder images 2023-11-14 23:05:41 -05:00