abi / screenshot-to-code

Drop in a screenshot and convert it to clean code (HTML/Tailwind/React/Vue)

Home Page:https://screenshottocode.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to generate code

ponypy opened this issue · comments

commented

Upload the screenshot. Code generation will stop after 2 seconds, and there is no code in the display box on the right. There are no errors in my settings.
微信截图_20240603211139

20240603_211009.mp4

Similar problem. I need help

Thanks for the video. Could you please share your backend logs? I need that to debug the issue.

can I offer to give you my code from AnyDesk and you can take a look?

It's easier if you just share screenshots or videos. Thanks.

image
image
Maybe I'm doing something wrong?

These are your front-end logs. Are you running the backend? Can you share logs from there?

Where file logs? Do you know?

Did you run the backend?

yes

Please share the logs in the terminal window that’s running the backend.

commented

image
This is my backend log thanks.

Looks like the front-end is not hitting your backend. Are they running on the same machine? Can you visit 127.0.0.1:7001 and show me what it says?

commented

image
image
image
Thanks!

I think the issue is with the OpenAI proxy you're using? gptapi.us. Seems like it's returning no code. Once you upload a image, what does the front-end look like?

commented

I don't think it's a proxy problem, because my openaiApi is also used in other applications without problems, and I could use Screenshot to Code normally some time ago. It suddenly became unavailable recently. Here is a video of my demonstration.

20240606_223715.mp4

@ponypy Have you tried GPT 4 Turbo or vision?

Have you pulled from master since it was last working?

老哥解决了吗,我也碰到了