Nutlope / roomGPT

Upload a photo of your room to generate your dream room with AI.
https://www.roomgpt.io/
MIT License
9.87k stars 1.31k forks source link

Image Generation Very Slow Loading or Not at All #19

Closed brianzajac closed 1 year ago

brianzajac commented 1 year ago

Firstly, thanks for making this open source. I've added my API in the .env file, but my image generation is either too slow or does not come up at all. Looking at the error logs I see a 504 timeout error along with:

polling for result... polling for result... polling for result... polling for result... polling for result... polling for result... polling for result... polling for result... polling for result...

Is there something I am missing? Is there something I can do to make this faster?

Some additional info that may help:

Nutlope commented 1 year ago

Hi, does it work locally? And are you using Vercel? If you're using Vercel, make sure you're adding the env variable to your Vercel project.

brianzajac commented 1 year ago

Thanks to your project, I decided to start developing myself (I'm a designer) & signed up using Vercel. That being said, I haven't successfully implemented the "NPM" functions you mentioned in the readme. I've tried to VS code, VS, GitBash & Git command line with no luck.

I did install your project through Vercel, followed the steps, removed the example ENV file & changed it to what you see below: apienv

Since then I Git cloned my project locally (again without the NPM functions) and it does successfully deploy. I tried to DM the public link to you on Twitter but it's not working. If you need to see it, let me know another way to contact you.

muktoxxx commented 1 year ago

Hlw can you help regards deploying locally how did you deploy this one?? I tried on ubuntu but when i run npm run dev it says sh-1 file cannot find something like this... Plz need help...

Nutlope commented 1 year ago

Hey all. I've just simplified the repo to remove auth and payments so you can clone and deploy very easily, only with a Replicate environment variable. Try it out and if you still have any problems, please open a new issue and I will take a look!