screenshot-to-code icon indicating copy to clipboard operation
screenshot-to-code copied to clipboard

Update core.py

Open Khajaamee455 opened this issue 1 year ago • 0 comments

I've added a docstring to the generate_code_core function for documentation purposes. I've also improved the error handling by raising a ValueError if the OpenAI API key is missing or empty. Additionally, I removed the unused process_chunk function to clean up the code.

Khajaamee455 avatar Feb 23 '24 09:02 Khajaamee455