|
|
|
|
|
by LarsDu88
778 days ago
|
|
I was excited to see what sort of interesting trickery was involved in making this app, just to realize all its doing is writing an image to disk and shooting it over to openai. Well done. Although I should note, I believe there is a completely extraneous disk write here. I believe you can use pillow to directly read the bytes into memory before sending the image data to openai rather than doing disk write -> read from disk -> byte encode -> openai which is pretty inefficient. |
|