Mossy1022 / Smart-Memos

Super-human brainstorming and note-taking by smart transcribing your voice! This involves a complete transcript, a summary, an expansion on the concepts presented, and a fully customizable analysis of it for any use case you can think of!
MIT License
54 stars 3 forks source link

Trying to record audio: Request failed 429 #9

Closed dobernike closed 4 months ago

dobernike commented 4 months ago

image

MacOS and iOS

dobernike commented 4 months ago

Also: I record audio from Mac, going to iOS and got error in the audio (wav) Could listen it in Mac, not in iOS

If I record audio from iOS, I can't hear anything in iOS But hear it in Mac

Mossy1022 commented 4 months ago

Got it. For request failed of 429, that happens on OpenAI's end. That error code occurs when there have been too many requests within a short period of time, especially when you're using the free version of OpenAI. That usually lasts around a minute and then you can try again. I'm going to see what I can do to help this out though.

dobernike commented 4 months ago

It’s strange, because I have paid version of chatGPT

can’t do it at all, every time got the error

maybe I need somehow configure my API key or choose something in the your settings, could you please give me steps to do that?

Mossy1022 commented 4 months ago

Hmm, yes that is strange. When you login to openai and check: https://platform.openai.com/usage

Do you see anything unusual? Possibly hit your rate limit? You should just need your openapi key, though it could also be the model you are attempting to use. I would first check with openAI there to see if there's something up.

jeremygentles commented 4 months ago

I am seeing similar behavior. Also using paid openai account with plenty of credit available.

1 2 3
jeremygentles commented 4 months ago

Just a quick update. This seems like it was related to the file size. The audio file was a 563 MB wave file. Recreated a 78.2 MB MP3 file and it worked fine.

Mossy1022 commented 4 months ago

Interesting. Thanks for the update. It should be able to take any file size through chunking. What I can think of is that having enough chunks where the response is received and a new request is made immediately, you might start getting the error. I'll see if adjusting that will change things.

dobernike commented 4 months ago

Hmm, yes that is strange. When you login to openai and check: https://platform.openai.com/usage

Do you see anything unusual? Possibly hit your rate limit? You should just need your openapi key, though it could also be the model you are attempting to use. I would first check with openAI there to see if there's something up.

0 usage, but in page with my API key, I saw: "Last usage 22 July" :/

I found the problem, I got $0 credit :/ Will try to fix it Close the bug