Muhammad-Faizan-Ahmed commited on
Commit
25f9504
·
verified ·
1 Parent(s): aa69770

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -8,8 +8,8 @@ from groq import Groq
8
  # Load Whisper model for transcription
9
  model = whisper.load_model("base")
10
 
11
- GROQ_API_KEY = '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'
12
- client = Groq(api_key=GROQ_API_KEY)
13
 
14
  # Function to get the LLM response from Groq
15
  def get_llm_response(user_input):
 
8
  # Load Whisper model for transcription
9
  model = whisper.load_model("base")
10
 
11
+
12
+ client = Groq(api_key=os.getenv("GROQ_API_KEY"))
13
 
14
  # Function to get the LLM response from Groq
15
  def get_llm_response(user_input):