Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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"
|
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)
|