Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -40,7 +40,7 @@ Explain why this is the best recipient in 2-3 lines.
|
|
| 40 |
for attempt in range(3):
|
| 41 |
try:
|
| 42 |
response = client.chat.completions.create(
|
| 43 |
-
model="llama-
|
| 44 |
messages=[{"role": "user", "content": prompt}]
|
| 45 |
)
|
| 46 |
explanation = response.choices[0].message.content
|
|
|
|
| 40 |
for attempt in range(3):
|
| 41 |
try:
|
| 42 |
response = client.chat.completions.create(
|
| 43 |
+
model="llama-3.3-70b-versatile", # smaller model for Spaces
|
| 44 |
messages=[{"role": "user", "content": prompt}]
|
| 45 |
)
|
| 46 |
explanation = response.choices[0].message.content
|