Update app.py
Browse files
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="
|
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()
|