Azazkhan commited on
Commit
964c4dd
·
verified ·
1 Parent(s): ad40bc8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 = client.chat.completions.create(
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
  )