Spaces:
Sleeping
Sleeping
Chia Woon Yap
commited on
Update app.py
Browse files
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"
|
| 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
|