Uploading images without updating UI
6pjj6 opened this issue · comments
I have successfully started the backend and frontend services, but after uploading the images, I did not update the UI code. I used my own forwarding address and wrote the backend environment variables as follows
OPENAI-API_KEY=sk-r8Xr5rxxxxxxxx5946eF8Ec540bFf
OPENAI-BASE-URL= https://xxxx.com
I'm not sure if this is correct, here are the logs from the backend
INFO: connection closed
INFO: ('127.0.0.1 ', 8699) - "WebSocket/generate code" [accepted]
Incoming websocket connection
INFO: connection open
Received params
Generating html_tailwind code for uploaded image using gpt4_vision model
Using OpenAI API key from environment variable
Using OpenAI Base URL from environment variable
Generating code
Exact used model for generation: Llm GPT4_VISION
Writing to logs directory: C: \ Users \ 86166 \ Desktop \ screenshot to code \ backend \ run_logs
INFO: connection closed
The logs look like the generation worked.
But I see that you're on v3 for this image, can you go back to v2 and try again? Did v1 and v2 work?
he why say(It appears that you would like me to create an HTML page, but I will need the screenshot or a detailed description of the webpage you want to replicate. Please upload the image or describe the design, layout, and any specific elements you want included.)
Is that what the AI is responding with?
I need a more detailed step by step to replicate your problem.
Does that happen every time or just one time?
Closing due to inactivity