Spaces:
Runtime error
Runtime error
Ramkumar commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -86,7 +86,7 @@ def process_audio_or_text(input_text, audio_path, generate_image_flag):
|
|
| 86 |
try:
|
| 87 |
chat_completion = client.chat.completions.create(
|
| 88 |
messages=[{"role": "user", "content": translation}],
|
| 89 |
-
model="llama-3.2-
|
| 90 |
)
|
| 91 |
chatbot_response = chat_completion.choices[0].message.content
|
| 92 |
except Exception as e:
|
|
|
|
| 86 |
try:
|
| 87 |
chat_completion = client.chat.completions.create(
|
| 88 |
messages=[{"role": "user", "content": translation}],
|
| 89 |
+
model="llama-3.2-3b-preview"
|
| 90 |
)
|
| 91 |
chatbot_response = chat_completion.choices[0].message.content
|
| 92 |
except Exception as e:
|