Rausda6 commited on
Commit
ac28e38
·
verified ·
1 Parent(s): 1a3a31f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -334,7 +334,7 @@ Example JSON structure:
334
  return_tensors="pt",
335
  padding=True,
336
  truncation=True,
337
- max_length=2048, # Reduced for stability
338
  return_attention_mask=True
339
  )
340
 
 
334
  return_tensors="pt",
335
  padding=True,
336
  truncation=True,
337
+ max_length=1200, # Reduced for stability
338
  return_attention_mask=True
339
  )
340