Open 13516513760 opened 3 months ago
you dont fill there the API key, if you want to fill it there you should do directly:
groq_api_key = '<your api key>'
you put your key normally in an environment variable GROQ_API_KEY add you get it:
groq_api_key = os.environ['GROQ_API_KEY']
the os.environ['myenvvariable'] gets the value of environmental variable myenvvariable
myenvvariable is the name of the variable and the value is returned
I filled in my API KEY in app. py and started it, but it prompted KEYError. Xxxxxxxxxx is my confidential API KEY