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

Generated Images Not Appearing #123

Open
IsaccBarker opened this issue Oct 3, 2024 · 11 comments
Open

Generated Images Not Appearing #123

IsaccBarker opened this issue Oct 3, 2024 · 11 comments

Comments

@IsaccBarker
Copy link

Hello, I uploaded some photos of myself and paid for a credit because I was curious what sort of images it would give me. I wasn't expecting no images! The training data column is populated, but the results one is not. Am I missing something obvious?

@bear75
Copy link

bear75 commented Oct 4, 2024

Same for me, however I see the result images in astria…

@AbhishekTyagi0
Copy link

Yes, there is an issue with the webhooks between astria and the headshots starter.

I thought it was only happening to me only.

@burgalon Hi please can you look into it, I have given so much time building my app, and then this issue arose.

@burgalon
Copy link
Collaborator

burgalon commented Oct 10, 2024

@IsaccBarker @bear75 @AbhishekTyagi0
Please go into:

  1. go to https://vercel.com/
  2. select project
  3. Settings tab
  4. Select Environment variables on the left
  5. make sure VERCEL_URL is set to a public domain that does not require authentication, and is not getting redirects - e.g: http => https, or non www => wwww - the callback client does not follow redirect

You can see the callback url that gets sent to Astria if you open https://www.astria.ai/tunes.json

Make sure to test things using astriaTestMode / ASTRIA_TEST_MODE turned on to avoid charges and also fast processing time.

image

@burgalon
Copy link
Collaborator

If this doesn't work for some reason, you can just change the code so that callback does not using VERCEL_URL and is instead hard-coded to the desired domain.

@IsaccBarker
Copy link
Author

IsaccBarker commented Oct 11, 2024

@IsaccBarker @bear75 @AbhishekTyagi0 Please go into:

1. go to https://vercel.com/

2. select project

3. Settings tab

4. Select Environment variables on the left

5. make sure VERCEL_URL is set to a public domain that does not require authentication, and is not getting redirects - e.g: http => https, or non www => wwww - the callback client does not follow redirect

You can see the callback url that gets sent to Astria if you open https://www.astria.ai/tunes.json

Make sure to test things using astriaTestMode / ASTRIA_TEST_MODE turned on to avoid charges and also fast processing time.

image

I didn't realize this was a template repository, so I uploaded my photos to the example hosted by this repository. Since I'm not hosting this, I don't have the option to change the Vercel settings. The images are still not showing up, even though I assume the settings have been changed?

@AbhishekTyagi0
Copy link

Thank all I was able to solve this issue with the help of dear Alon sir aka @burgalon

@nishtman-k
Copy link

nishtman-k commented Nov 8, 2024

Hello, I deployed starter to my vercel and setteled & connected all APIs but when I try to train model or generate headshots, I get a popup message says "something went wrong"
I have credits on Astria, but here same error even with Astria API test or prod mode.

the on ly thing I have not connected stripe as am using vercel domain for now.

any body can help or faces same issue?

Screenshot 2024-11-08 at 21 33 31

@burgalon
Copy link
Collaborator

burgalon commented Nov 8, 2024 via email

@nishtman-k
Copy link

Hi @burgalon on the Vercel logs am getting 500 internal error, then I see Stripe configuration=false and last I get modeError: {}

Screenshot 2024-11-08 at 22 18 50

@burgalon
Copy link
Collaborator

burgalon commented Nov 11, 2024 via email

@nishtman-k
Copy link

No, I assume the issue comes from the database tables on Supabase as I don't see the following tables {Models, images, credits samples } and seems Vercel-Supabase integration on deployment didn't create the tables automatically, So I also don't know where to create the tables in which schema.

I also as a user can't charge Stripe to get credits!

did you manage?

On Fri, Nov 8, 2024 at 11:21 PM Nishtman Kano @.> wrote: Hi @burgalon https://github.com/burgalon on the Vercel logs am getting 500 internal error, then I see Stripe configuration=false and last I get modeError: {} Screenshot.2024-11-08.at.22.18.50.png (view on web) https://github.com/user-attachments/assets/148a862f-a9d0-4398-8010-d12b3d48b878 — Reply to this email directly, view it on GitHub <#123 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALQ4IZW3JUV7GHGZYNINLZ7UTPLAVCNFSM6AAAAABPIWOOVOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRVG43DSMRWGQ . You are receiving this because you were mentioned.Message ID: @.>

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

No branches or pull requests

5 participants