Abbas0786 commited on
Commit
17ae05b
·
verified ·
1 Parent(s): 9be03db

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -59,7 +59,7 @@ def process_audio(file_path):
59
  # Generate a response in Urdu using Groq
60
  chat_completion = client.chat.completions.create(
61
  messages=[{"role": "user", "content": text}],
62
- model="gemma2-9b-it", # Ensure this model can handle Urdu
63
  )
64
  # Access the response using dot notation
65
  response_message = chat_completion.choices[0].message.content.strip()
 
59
  # Generate a response in Urdu using Groq
60
  chat_completion = client.chat.completions.create(
61
  messages=[{"role": "user", "content": text}],
62
+ model="llama-3.1-70b-versatile", # Ensure this model can handle Urdu
63
  )
64
  # Access the response using dot notation
65
  response_message = chat_completion.choices[0].message.content.strip()