Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uploading images without updating UI #294

Open
6pjj6 opened this issue Apr 2, 2024 · 5 comments
Open

Uploading images without updating UI #294

6pjj6 opened this issue Apr 2, 2024 · 5 comments

Comments

@6pjj6
Copy link

6pjj6 commented Apr 2, 2024

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
Copy link
Author

6pjj6 commented Apr 2, 2024

image

@abi
Copy link
Owner

abi commented Apr 2, 2024

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?

@6pjj6
Copy link
Author

6pjj6 commented Apr 14, 2024

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

@abi
Copy link
Owner

abi commented Apr 14, 2024

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?

@OceanNg529
Copy link

OceanNg529 commented Apr 26, 2024

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants