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