PrathameshRaut commited on
Commit
7cd6257
·
verified ·
1 Parent(s): 51bc5d2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -354,12 +354,12 @@ Respond with the JSON object only."""
354
  # FIX: retry up to 3 times — 105b occasionally returns null content
355
  for attempt in range(3):
356
  response = client.chat.completions(
357
- model="sarvam-30b",
358
  messages=[{"role": "user", "content": prompt}],
359
  reasoning_effort=None,
360
  temperature=0,
361
  top_p=1,
362
- max_tokens=2048,
363
  )
364
 
365
  # FIX: guard against null content before calling .strip()
 
354
  # FIX: retry up to 3 times — 105b occasionally returns null content
355
  for attempt in range(3):
356
  response = client.chat.completions(
357
+ model="sarvam-105b",
358
  messages=[{"role": "user", "content": prompt}],
359
  reasoning_effort=None,
360
  temperature=0,
361
  top_p=1,
362
+ max_tokens=4096,
363
  )
364
 
365
  # FIX: guard against null content before calling .strip()