Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -111,7 +111,7 @@ def predict(*text):
|
|
| 111 |
padding=True,
|
| 112 |
truncation=True,
|
| 113 |
return_tensors='pt',
|
| 114 |
-
max_length=
|
| 115 |
)
|
| 116 |
|
| 117 |
input_ids = encoded_sentences["input_ids"].to(device)
|
|
|
|
| 111 |
padding=True,
|
| 112 |
truncation=True,
|
| 113 |
return_tensors='pt',
|
| 114 |
+
max_length=100,
|
| 115 |
)
|
| 116 |
|
| 117 |
input_ids = encoded_sentences["input_ids"].to(device)
|