Hi there, I came across your channel recently. Great videos! I am gonna try this definitely. Keep the good work!
@swapwarick6 ай бұрын
I am getting error generating the code. Check developer console and backend logs for details.
@AICodeKing6 ай бұрын
Try also changing the 10th or 11th line to refer to the Lava model. It should fix it.
@swapwarick6 ай бұрын
@@AICodeKing ok I'll try that. But I already did change the lines. Maybe I'll try again.
@xtro76 ай бұрын
Very interesting, wich would be your recomendation for sending a promt to front? Like controling IU with your voice, for example...
@bladethirst16 ай бұрын
This seems to be only static content, is there some tool for webpage with reactive component?
@regallux6973Ай бұрын
Can I use the code with bolt
@PeterBLiu6 ай бұрын
thanks, the frontend works, but after uploading a screenshot, it says "Invalid model: llava"
@AICodeKing6 ай бұрын
Try also changing the 10th or the the 11th line in the file to also point to lava model. That should fix it.
@PeterBLiu6 ай бұрын
@@AICodeKing already changed those two lines as you said, but got the same error, how to fix?
@fairyroot16536 ай бұрын
I tried everything and nothing worked, I abandoned trying further for it didn't work for you as well, that's why you switched to GPT 4 turbo
@dtory6 ай бұрын
Can you try with gpt 4 or gpt4o
@dtory6 ай бұрын
Also can you include the GitHub repo 😊
@jackflash63776 ай бұрын
quick search for "screenshot to code" will get you the repo address.
@redaelhili92546 ай бұрын
Great video as always
@AICodeKing6 ай бұрын
Weird! Works for me though. Maybe, try changing the 10th or 11th line to also refer to Llava. Maybe that's making an issue. Mine works fine without changing them though.
@johnaroj6 ай бұрын
@@AICodeKing same
@connectedquest6 ай бұрын
same here, stuck at this error "Invalid model: llava" 😕
@connectedquest6 ай бұрын
In your video you are not using llama to generate the UI code, as it shows GPT-4 turbo :S
@vertigoz6 ай бұрын
in my case it doesn't run, it throws me an error: "gpt-4o-2024-05-13": { name: "GPT-4o 🌟", inBeta: false }, pointing to gpt-4o-2024-05-13
@AICodeKing6 ай бұрын
Try also changing the 10th or the the 11th line in the file to also point to lava model. That should fix it.
@Michael-ci1gf6 ай бұрын
@@AICodeKing it gets it working but unfortunately throws an error after when you press "update" for the prompt
@fumbling_forward6 ай бұрын
Which GPU are You usinng in lightningAI platform
@AICodeKing6 ай бұрын
T4
@freeideas6 ай бұрын
The problem I am having, is that I don't know how to make attractive front-ends. Coding them is no problem. Making them look good is super difficult for me. I wish there was an Ai that I could describe what controls I want, and the purpose of the screen, and it gives me a screenshot that is visually attractive. Then I could use this tool to write code from the screenshot.
@freeideas6 ай бұрын
I have tried Gpt4o and other image-generation AIs, but they don't seem to want to make mockup screenshots. They will show me a computer sitting on a desk, or a hand holding a cellphone. Maybe my prompting skills are to blame.
@k2an6 ай бұрын
awesome tuts really, but this is not working, i think anymore :) same error , Invalid model: llava but nice apps that i dont know. Congrats!