adrianhajdin / project_threejs_ai

https://jsmastery.pro
893 stars 267 forks source link

Ai generation not working #23

Open pradeepthsjain opened 1 year ago

pradeepthsjain commented 1 year ago

As soon as i click on ai full or ai logo button my screen goes white and i can see errors on the server terminal and even in inspect console. Screenshot (8) ![Screenshot (9)](https://github.com/adrianhajdin/project_threejs_ai/assets/115602871/712d6f9b-014d-4565-a1fd Screenshot (10) -8d91beeafb68) Screenshot (11) Can someone please help me out with this....?

hungqlam commented 1 year ago

image I got the same issue change to new acc but it cannot fix anyone has the same problem ?

AbhishekBhure commented 1 year ago

yes i have the same issue did you solve this?

prakashpun commented 11 months ago

I do have a usage limit of 5USD but even then i am getting the same error as above. Did someone managed to solve this issue ?

jdp5949 commented 11 months ago

As soon as i click on ai full or ai logo button my screen goes white and i can see errors on the server terminal and even in inspect console. Screenshot (8) ![Screenshot (9)](https://github.com/adrianhajdin/project_threejs_ai/assets/115602871/712d6f9b-014d-4565-a1fd Screenshot (10) -8d91beeafb68) Screenshot (11) Can someone please help me out with this....?

same issue but dont know how to solve.

pradeepthsjain commented 11 months ago

Check your ai usage of the key it might have been expired or the first fre 5 dollars might have been depleted

On Fri, 21 Jul 2023 at 9:23 AM, Jay Patel @.***> wrote:

As soon as i click on ai full or ai logo button my screen goes white and i can see errors on the server terminal and even in inspect console. [image: Screenshot (8)] https://user-images.githubusercontent.com/115602871/247987272-3f35cfde-1f1a-4d50-9e24-91f7f745ab1e.png ![Screenshot (9)]( https://github.com/adrianhajdin/project_threejs_ai/assets/115602871/712d6f9b-014d-4565-a1fd [image: Screenshot (10)] https://user-images.githubusercontent.com/115602871/247987372-ce78e289-260d-481d-b3f4-38cfe98ab756.png -8d91beeafb68) [image: Screenshot (11)] https://user-images.githubusercontent.com/115602871/247987395-e8dba14d-2033-4c15-85ae-04699646b1ea.png Can someone please help me out with this....?

same issue but dont know how to solve.

— Reply to this email directly, view it on GitHub https://github.com/adrianhajdin/project_threejs_ai/issues/23#issuecomment-1644946463, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3R7LN5LENGGKONWR5Q3YTDXRH4LHANCNFSM6AAAAAAZQNIAZA . You are receiving this because you authored the thread.Message ID: @.***>

arunkumar-0 commented 11 months ago

I do have a usage limit of 5USD but even then i am getting the same error as above. Did someone managed to solve this issue ?

yes , same with me

pradeepthsjain commented 11 months ago

Did you cross check the expiry date of that free 5usd

On Tue, 25 Jul 2023 at 10:46 AM, arunkumar-0 @.***> wrote:

I do have a usage limit of 5USD but even then i am getting the same error as above. Did someone managed to solve this issue ?

yes , same with me

— Reply to this email directly, view it on GitHub https://github.com/adrianhajdin/project_threejs_ai/issues/23#issuecomment-1649138546, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3R7LNYADH3WQU66CL3GHJTXR5JD5ANCNFSM6AAAAAAZQNIAZA . You are receiving this because you authored the thread.Message ID: @.***>

Bohemme commented 11 months ago

I have the same issue. With the API key just created, it seems that at least the petition is made because the usage increased a bit, but it returns an empty string so the app crashes with a white screen. I think that it has something to do with CORS (just a guess) but it's the only function I've not been able to use. The code is the same (except for the api key) as I downloaded the whole project.

shadow-monarch9 commented 11 months ago

i had the same issue with exact same error after checking by openai account usage,i came to know that somehow my api creds expired,which is weird since i never actually used the api,and it expired around the same time i created my openai account for accessing chatGPT. so i just created another account with different credentials and now its working.so try that

pradeepthsjain commented 11 months ago

Wait is the T-shirt model getting rendered or does it vanish and white screen comes after some time ..?

On Tue, 25 Jul 2023 at 10:05 PM, David Bravo @.***> wrote:

I have the same issue. With the API key just created, it seems that at least the petition is made because the usage increased a bit, but it returns an empty string so the app crashes with a white screen. I think that it has something to do with CORS (just a guess) but it's the only function I've not been able to use. The code is the same (except for the api key) as I downloaded the whole project.

— Reply to this email directly, view it on GitHub https://github.com/adrianhajdin/project_threejs_ai/issues/23#issuecomment-1650170829, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3R7LN3K222D6OM2DYYEFDLXR7YU7ANCNFSM6AAAAAAZQNIAZA . You are receiving this because you authored the thread.Message ID: @.***>

shadow-monarch9 commented 11 months ago

it is rendering with no problems

pradeepthsjain commented 11 months ago

Buddy then ig the free 5 dollars of yours is expired

On Wed, 26 Jul 2023 at 11:09 AM, Aditya kumar @.***> wrote:

it is rendering with no problems

— Reply to this email directly, view it on GitHub https://github.com/adrianhajdin/project_threejs_ai/issues/23#issuecomment-1651011965, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3R7LN6UXH34WAEBURVMW4LXSCURVANCNFSM6AAAAAAZQNIAZA . You are receiving this because you authored the thread.Message ID: @.***>

arunkumar-0 commented 11 months ago

Did you cross check the expiry date of that free 5usd On Tue, 25 Jul 2023 at 10:46 AM, arunkumar-0 @.> wrote: I do have a usage limit of 5USD but even then i am getting the same error as above. Did someone managed to solve this issue ? yes , same with me — Reply to this email directly, view it on GitHub <#23 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3R7LNYADH3WQU66CL3GHJTXR5JD5ANCNFSM6AAAAAAZQNIAZA . You are receiving this because you authored the thread.Message ID: @.>

yeah .......there was a error in fetching the data from API ....now it is solved

AbhishekBhure commented 11 months ago

would you please share it how did you solve? @arunkumar-0

FredDaFed commented 10 months ago

IF API KEY IS NOT EXPIRED & You still have CREDIT -

yet you still get the 500 HTTP ERROR STATUS...


For what its worth, here is a solution written on my behalf having this issue. https://github.com/adrianhajdin/project_threejs_ai/issues/16#issuecomment-1695590779

In summation, if using openAI version ^4 instead of ^3 - createImage() method will break the site. In the package.json file in the server directory, if you are using openAI ^4.0.0, the method changes to images.generate() in the dalle.routes.js file.

CONSIDER(openAI 3 to 4) the migration guide => https://github.com/openai/openai-node/discussions/217

brandy-atieno commented 8 months ago

Still getting the same error yet my credits haven't expired