Update app.py
Browse files
app.py
CHANGED
|
@@ -29,7 +29,7 @@ def process_audio(file_path):
|
|
| 29 |
# Generate a response in Urdu using Groq
|
| 30 |
chat_completion = client.chat.completions.create(
|
| 31 |
messages=[{"role": "user", "content": text}],
|
| 32 |
-
model="
|
| 33 |
)
|
| 34 |
|
| 35 |
# Access the response using dot notation
|
|
|
|
| 29 |
# Generate a response in Urdu using Groq
|
| 30 |
chat_completion = client.chat.completions.create(
|
| 31 |
messages=[{"role": "user", "content": text}],
|
| 32 |
+
model="gemma2-9b-it", # Ensure this model can handle Urdu
|
| 33 |
)
|
| 34 |
|
| 35 |
# Access the response using dot notation
|