SevaSk / ecoute

Ecoute is a live transcription tool that provides real-time transcripts for both the user's microphone input (You) and the user's speakers output (Speaker) in a textbox. It also generates a suggested response using OpenAI's GPT-3.5 for the user to say based on the live transcription of the conversation.
https://github.com/SevaSk/ecoute
MIT License
5.89k stars 826 forks source link

how to deal with it #50

Open Lorvey-beep opened 1 year ago

Lorvey-beep commented 1 year ago

PS C:\WINDOWS\system32\ecoute> python main.py C:\Users\Lorve\AppData\Local\Programs\Python\Python311\Lib\site-packages\whisper\timing.py:57: NumbaDeprecationWarning: The 'nopython' keyword argument was not supplied to the 'numba.jit' decorator. The implicit default value for this argument is currently False, but it will be changed to True in Numba 0.59.0. See https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-object-mode-fall-back-behaviour-when-using-jit for details. @numba.jit Traceback (most recent call last): File "C:\WINDOWS\system32\ecoute\main.py", line 3, in from GPTResponder import GPTResponder File "C:\WINDOWS\system32\ecoute\GPTResponder.py", line 2, in from keys import OPENAI_API_KEY File "C:\WINDOWS\system32\ecoute\keys.py", line 1, in OPENAI_API_KEY=***** ^^ NameError: name 'sk' is not defined

SevaSk commented 1 year ago

Did you include quotations around your key? Should look like

OPENAI_API_KEY="API_KEY"