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

Uploading images without updating UI

Open 6pjj6 opened this issue 10 months ago • 5 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

6pjj6 avatar Apr 02 '24 13:04 6pjj6

image

6pjj6 avatar Apr 02 '24 13:04 6pjj6

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?

abi avatar Apr 02 '24 13:04 abi

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.)

6pjj6 avatar Apr 14 '24 19:04 6pjj6

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?

abi avatar Apr 14 '24 22:04 abi

Uploading iShot_2024-04-26_10.45.40.png…

It's the same with me. Is it an agency problem?

OceanNg529 avatar Apr 26 '24 02:04 OceanNg529