Nutlope/roomGPT

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

boss2256 opened this issue · 6 comments

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.

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

It's a 504 error could it be
code

changing the output from 1 to 0?

it seems to
localhost
only be appearing in localhost

did you solved this? im havving the same issue

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

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!