vivekuppal / transcribe

Transcribe is a real time transcription, conversation, Language learning platform. It provides live transcripts from microphone and speaker. It generates a suggested conversation response using OpenAI's GPT API. It will read out the responses, simulating a real live conversation in English or another language.
https://abhinavuppal1.github.io/
MIT License
180 stars 41 forks source link

Filling in the correct Api key will crash. #246

Open moyulengtu opened 1 month ago

moyulengtu commented 1 month ago

I configured the right Api key in override.yaml.But when I run transcribe.exe it will crashes. However, when override.yaml is not filled with anything, it will run successfully. What should I do, please help me 0001 0002

Tang-Steven commented 1 month ago

Try entering your key without the quotes.

moyulengtu commented 1 month ago

Try entering your key without the quotes.

OpenAI: api_key: sk-proj-TtWPpG5WgpXXXXXXXXXXXXXXXXXXzdVlvjfVk6yn79IA4

I changed it to this, and it still flashed.

https://github.com/user-attachments/assets/a7a2ef2a-f63a-4404-8ee7-c3c02420cf73

moyulengtu commented 1 month ago

By the way, does this app have to require a GPT4-0 API key interface?

vivekuppal commented 1 month ago

Use an earlier model like gpt-3.5-turbo and everything will work as anticipated. To understand the details of the issue you are encountering please see this thread on openAI forums - https://community.openai.com/t/openai-error-invalidrequesterror-the-model-gpt-4-does-not-exist-or-you-do-not-have-access-to-it/376230

Also see this comment for a user who encountered a similar issue https://github.com/vivekuppal/transcribe/issues/171#issuecomment-1994059623

moyulengtu commented 1 month ago

Use an earlier model like gpt-3.5-turbo and everything will work as anticipated. To understand the details of the issue you are encountering please see this thread on openAI forums - https://community.openai.com/t/openai-error-invalidrequesterror-the-model-gpt-4-does-not-exist-or-you-do-not-have-access-to-it/376230

Also see this comment for a user who encountered a similar issue #171 (comment)

I see what you mean, the reason for the problem may be because I don't have credit remaining. Snipaste_2024-07-20_22-48-32 Well, it looks like I'm going to have to get a Visa international debit card.

By the way, it shows that I don't have access to gpt-4o in cmd, is it necessary to flash it directly? It flashed and made me think there was a bug in the program.

It is a great honor to communicate and discuss with you, thank you~

Finally, can I make a small suggestion that I hope to add the Chinese (Simplified) language pack in future updates. Although there is already a Chinese (traditional) language pack, it looks a little inconvenient.

mang0sw33t commented 3 weeks ago

Seems like you are in China. There are a lot of OpenAI compatible providers in China. You can use an OpenAI compatible provider in China if that is easier for you.

The supported languages for transcribe are at - https://platform.openai.com/docs/guides/speech-to-text/supported-languages. If OpenAI adds support for Chinese (Simplified), then we should be able to support that as well.