Nutlope / roomGPT

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

Image uploaded and sent to replicate not appearing on front-end #73

Closed boss2256 closed 1 year ago

boss2256 commented 1 year ago

generate ts replicaete problem error After uploading my photo for replicate API to do its work, it only appeared serverside and i can only see the photo on replicate but it's not being parsed to the front-end client to view.

boss2256 commented 1 year ago

Could it be because of the new model Nutolope merged from the pull request?

boss2256 commented 1 year ago

It's a 504 error could it be code

changing the output from 1 to 0?

boss2256 commented 1 year ago

it seems to localhost only be appearing in localhost

PabloDeRosacruz33 commented 1 year ago

did you solved this? im havving the same issue

R3P-tech commented 1 year ago

There's something with the new model, I have the same POST Issue and, also this GET issue:

TypeError: Cannot read properties of undefined (reading 'toLowerCase') at handler (/var/task/.next/server/pages/api/generate.js:124:84) at async Object.apiResolver (/var/task/node_modules/next/dist/server/api-utils/node.js:372:9) at async NextNodeServer.runApi (/var/task/node_modules/next/dist/server/next-server.js:488:9) at async Object.fn (/var/task/node_modules/next/dist/server/next-server.js:751:37) at async Router.execute (/var/task/node_modules/next/dist/server/router.js:253:36) at async NextNodeServer.run (/var/task/node_modules/next/dist/server/base-server.js:384:29) at async NextNodeServer.handleRequest (/var/task/node_modules/next/dist/server/base-server.js:322:20) at async module.exports (/var/task/___next_launcher.cjs:29:9)

Capture d’écran 2023-04-24 à 02 48 30
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!