Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,7 @@ def process_audio(file_path):
|
|
22 |
text = result["text"]
|
23 |
|
24 |
# Generate a response using Groq
|
25 |
-
chat_completion =
|
26 |
messages=[{"role": "user", "content": text}],
|
27 |
model="llama3-8b-8192", # Replace with the correct model if necessary
|
28 |
)
|
|
|
22 |
text = result["text"]
|
23 |
|
24 |
# Generate a response using Groq
|
25 |
+
chat_completion = groq_client.chat.completions.create(
|
26 |
messages=[{"role": "user", "content": text}],
|
27 |
model="llama3-8b-8192", # Replace with the correct model if necessary
|
28 |
)
|