Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use newer version of replicate/replicate-javascript and update API ca… #69

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mhatma
Copy link

@mhatma mhatma commented Aug 10, 2023

Hi, I was receiving 500 errors when running the app, this commit fixes it for me - hopefully fixes for others too.

I pulled in a newer version of the replicate-javascript API and updated the API call params to reflect the changes. Used newest model version from https://replicate.com/rossjillian/controlnet for API call.

Also added in a basic default base URL for WEBHOOK_HOST as the API complains about this being an invalid URL if neither VERCEL_URL or NGROK_HOST are set.

@vercel
Copy link

vercel bot commented Aug 10, 2023

@mhatma is attempting to deploy a commit to the Replicate Team on Vercel.

A member of the Team first needs to authorize it.

@chuanenlin
Copy link

ty 🙂

@zeke
Copy link
Member

zeke commented Mar 8, 2024

Hi @mhatma. Sorry for the delay reviewing this. The code on the main branch has changed a bit since you opened this PR. Are you able to take a look at updating your changes?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants