abi / screenshot-to-code

Drop in a screenshot and convert it to clean code (HTML/Tailwind/React/Vue)
https://screenshottocode.com
MIT License
63.83k stars 7.8k forks source link

full typed in image generation file #348

Closed naman1608 closed 5 months ago

abi commented 5 months ago

@naman1608 there was a bug that I fixed. base_url by default is None, in that case, we should still generate images, when base_url =None is passed into the openAI client, it just uses the default base URL directly to OpenAI.