Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -334,7 +334,7 @@ Example JSON structure:
|
|
334 |
return_tensors="pt",
|
335 |
padding=True,
|
336 |
truncation=True,
|
337 |
-
max_length=
|
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 |
|