Lesterchia174 commited on
Commit
36a9704
·
verified ·
1 Parent(s): 96e0f37

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -36,7 +36,7 @@ import re
36
  transcriber = pipeline("automatic-speech-recognition", model="openai/whisper-base.en")
37
 
38
  # Set API Key (Ensure it's stored securely in an environment variable)
39
- groq.api_key = os.getenv("GROQ_API_KEY", "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") # Replace with a valid API key
40
 
41
  # Initialize Chat Model
42
  chat_model = ChatGroq(model_name="deepseek-r1-distill-qwen-32b", api_key=groq.api_key)
 
36
  transcriber = pipeline("automatic-speech-recognition", model="openai/whisper-base.en")
37
 
38
  # Set API Key (Ensure it's stored securely in an environment variable)
39
+ groq.api_key = os.getenv("GROQ_API_KEY") # Replace with a valid API key
40
 
41
  # Initialize Chat Model
42
  chat_model = ChatGroq(model_name="deepseek-r1-distill-qwen-32b", api_key=groq.api_key)