amkj84 commited on
Commit
dd112a8
·
verified ·
1 Parent(s): 17dc1a3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -9,7 +9,8 @@ from groq import Groq
9
  model = whisper.load_model("base")
10
 
11
  # Set up Groq API client (ensure GROQ_API_KEY is set in your environment)
12
- client = Groq(api_key= ( "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"))
 
13
 
14
  # Function to get the LLM response from Groq
15
  def get_llm_response(user_input):
 
9
  model = whisper.load_model("base")
10
 
11
  # Set up Groq API client (ensure GROQ_API_KEY is set in your environment)
12
+ client = Groq(api_key=os.getenv("GROQ_API_KEY"))
13
+
14
 
15
  # Function to get the LLM response from Groq
16
  def get_llm_response(user_input):