Commit Graph

180 Commits

Author SHA1 Message Date
Abi Raja
a53afd350d update sdxl-lightning references to flux 2024-09-20 16:45:16 +02:00
Abi Raja
6899c7792e when all generations fail, print the all the underlying exceptions for debugging 2024-09-20 13:56:20 +02:00
Abi Raja
9199fee21d keep generating even if one of the models fails 2024-09-17 15:56:35 +02:00
Abi Raja
8717298def switch to flux schnell for replicate image gen 2024-09-17 12:20:19 +02:00
Abi Raja
a4087e613f make variant 1 claude 2024-09-16 15:21:57 +02:00
Abi Raja
589507846b remove model selection dropdown since that happens on the background now 2024-09-13 14:41:00 +02:00
Abi Raja
e4b021c2a4 remove debugging statement 2024-09-06 17:41:19 +02:00
Abi Raja
c1fc28624d remove unused code 2024-08-31 15:43:02 +02:00
Abi Raja
c55e5d7923 remove unused code 2024-08-30 16:32:20 +02:00
Abi Raja
5d33dd6bf3 fix TODO 2024-08-30 14:07:30 +02:00
Abi Raja
67e7066221 fix some TODOs 2024-08-30 13:45:28 +02:00
Abi Raja
e67239745c fix type error 2024-08-30 13:32:59 +02:00
Abi Raja
b158597d7e fix bug with prompt assembly for imported code with Claude which disallows multiple user messages in a row 2024-08-05 14:11:01 -04:00
Abi Raja
fb5480b036 fix type error 2024-07-31 16:05:16 -04:00
Abi Raja
c76c7c202a move parameter extraction to separate fn 2024-07-31 15:46:53 -04:00
Abi Raja
710f2987a4 merge 2024-07-31 14:40:52 -04:00
Abi Raja
5c3f915bce parallelize just image generation 2024-07-31 13:36:22 -04:00
Abi Raja
701d97ec74 add comments 2024-07-31 11:27:26 -04:00
Abi Raja
7b2e2963ad print for debugging 2024-07-31 11:25:49 -04:00
Abi Raja
637c1b4c1d fix TODO 2024-07-31 11:22:25 -04:00
Abi Raja
c61a2ac772 fix TODO 2024-07-31 11:18:35 -04:00
Abi Raja
bcb89a3c23 refactor 2024-07-31 11:15:56 -04:00
Abi Raja
3591588e2b abstract out prompt assembly into a separate function 2024-07-31 11:07:30 -04:00
Abi Raja
dd7a51dd34 refactor 2024-07-31 10:16:03 -04:00
Abi Raja
3fbc0f9458 refactor 2024-07-31 10:15:07 -04:00
Abi Raja
ff12790883 refactor 2024-07-31 10:14:23 -04:00
Abi Raja
0f731598dd refactor to get .get() 2024-07-31 10:10:13 -04:00
Abi Raja
24a123db36 refactors 2024-07-30 16:37:36 -04:00
Abi Raja
64926408b0 refactor 2024-07-30 16:29:06 -04:00
Abi Raja
0700de7767 standardize to using typed send_message 2024-07-30 16:27:04 -04:00
Abi Raja
aff9352dc0 set up multiple generations 2024-07-30 15:44:48 -04:00
Abi Raja
4b0adc5769 poll more frequently and print timing logs 2024-07-29 16:33:04 -04:00
Abi Raja
52099e0853 create a eval script for sdxl lightning (replicate) vs dalle and support using replicate for image generation when key is set 2024-07-29 16:23:59 -04:00
Abi Raja
d7ab620e0b deep copy messages to avoid modifying the original list in the Claude LLM call 2024-07-26 11:56:21 -04:00
Abi Raja
54b59c85d6 add eval runner for text prompt 2024-07-19 09:25:11 -04:00
Abi Raja
9d11866143 improve evals code 2024-07-19 07:55:44 -04:00
Abi Raja
9f732c4f5d update max tokens for Claude Sonnet 3.5 to newly supported limit (8192) 2024-07-15 18:51:22 -04:00
Abi Raja
9b99cad286 auto-upgrade usage of older models 2024-07-11 16:26:26 -04:00
Abi Raja
9ec3adad19 fix bug where a image with dimensions larger than what Claude can accept but under the file size limit Claude can accept was not resized 2024-07-03 10:06:04 -04:00
Abi Raja
d2359f644c for images sent to Claude, resize if dimension exceeds limit 2024-06-27 17:59:15 +08:00
Abi Raja
38a06517fb add unit tests for the prompt assembly 2024-06-27 16:08:41 +08:00
Abi Raja
638053a54c add HTML + CSS prompt for imported code 2024-06-27 16:02:06 +08:00
Abi Raja
ec1bada3e2 fix type errors introduced with previous changes 2024-06-27 16:01:28 +08:00
Abi Raja
0200274e61 Merge branch 'main' into pr/227 2024-06-27 14:44:24 +08:00
Abi Raja
edfd16ef1d extract only html content 2024-06-26 16:36:33 +08:00
Abi Raja
4288cf2088 fix imported code prompt for Claude which doesn't allow multiple 'user' role messages in a row 2024-06-26 13:21:12 +08:00
Abi Raja
6be83b4a2d process images to be under 5mb for Claude 2024-06-25 20:57:41 +08:00
Abi Raja
9a4fbd4591
Merge pull request #358 from moas/patch-1
Fix Python version in dockerfile to avoid TypeError
2024-06-23 05:48:44 -04:00
Abi Raja
49a24d8b0c support Claude Sonnet 3.5 2024-06-22 19:39:49 +08:00
Oscar Landry L
9e2eb0c58c
Update Dockerfile
fix error:
TypeError: ForwardRef._evaluate() missing 1 required keyword-only argument: 'recursive_guard'
2024-06-11 14:58:18 +02:00