astriaai / headshots-starter

https://headshots-starter.vercel.app
MIT License
3.86k stars 669 forks source link

Generated Images Not Appearing #123

Open IsaccBarker opened 1 month ago

IsaccBarker commented 1 month ago

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 commented 1 month ago

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

AbhishekTyagi0 commented 1 month ago

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 commented 1 month ago

@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 commented 1 month ago

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 commented 1 month ago

@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 commented 1 month ago

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

nishtman-k commented 1 week ago

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 commented 1 week ago

Did you check the vercel server logs ?

On Fri, 8 Nov 2024 at 22:34 Nishtman Kano @.***> wrote:

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.

any body can help or faces same issue? Screenshot.2024-11-08.at.21.33.31.png (view on web) https://github.com/user-attachments/assets/5acc8629-d939-4279-8241-4411046e3261

— Reply to this email directly, view it on GitHub https://github.com/astriaai/headshots-starter/issues/123#issuecomment-2465705732, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALQ4MRLZQ4YUUOJYKAO7DZ7UN6TAVCNFSM6AAAAABPIWOOVOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRVG4YDKNZTGI . You are receiving this because you were mentioned.Message ID: @.***>

nishtman-k commented 1 week ago

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 commented 4 days ago

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 https://github.com/astriaai/headshots-starter/issues/123#issuecomment-2465769264, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALQ4IZW3JUV7GHGZYNINLZ7UTPLAVCNFSM6AAAAABPIWOOVOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRVG43DSMRWGQ . You are receiving this because you were mentioned.Message ID: @.***>

nishtman-k commented 4 days ago

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: @.>