Muhammad-Faizan-Ahmed commited on
Commit
626a43a
·
verified ·
1 Parent(s): 0cf47c2

Update app.py

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