CodeNine commited on
Commit
5568321
·
verified ·
1 Parent(s): 58ba5cd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ from dotenv import load_dotenv
6
 
7
  # Load .env file (contains your API key)
8
  load_dotenv()
9
- client = Groq(api_key=os.environ.get("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"))
10
 
11
  def groq_chat(message, history):
12
  messages = [{"role": "system", "content": "You are a helpful assistant."}]
 
6
 
7
  # Load .env file (contains your API key)
8
  load_dotenv()
9
+ client = Groq(api_key=os.environ.get("GROQ_API_KEY"))
10
 
11
  def groq_chat(message, history):
12
  messages = [{"role": "system", "content": "You are a helpful assistant."}]