Chia Woon Yap commited on
Commit
c7e3abd
·
verified ·
1 Parent(s): 7004619

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -109,7 +109,7 @@ import re
109
  transcriber = pipeline("automatic-speech-recognition", model="openai/whisper-base.en")
110
 
111
  # Set API Key (Ensure it's stored securely in an environment variable)
112
- groq.api_key = os.getenv("GROQ_API_KEY", "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") # Replace with a valid API key
113
 
114
  # Initialize Chat Model
115
  chat_model = ChatGroq(model_name="llama-3.3-70b-versatile", api_key=groq.api_key) #DeepSeek-R1-Distill-Llama-70b | deepseek-r1-distill-qwen-32b
 
109
  transcriber = pipeline("automatic-speech-recognition", model="openai/whisper-base.en")
110
 
111
  # Set API Key (Ensure it's stored securely in an environment variable)
112
+ groq.api_key = os.getenv("GROQ_API_KEY")
113
 
114
  # Initialize Chat Model
115
  chat_model = ChatGroq(model_name="llama-3.3-70b-versatile", api_key=groq.api_key) #DeepSeek-R1-Distill-Llama-70b | deepseek-r1-distill-qwen-32b