Update app.py
Browse filesmax_length = 1,000
app.py
CHANGED
@@ -16,7 +16,7 @@ def paraphrase(
|
|
16 |
input_ids = tokenizer(
|
17 |
f'paraphrase: {Content_to_Rephrase}',
|
18 |
return_tensors="pt", padding="longest",
|
19 |
-
max_length=
|
20 |
truncation=True,
|
21 |
).input_ids
|
22 |
|
|
|
16 |
input_ids = tokenizer(
|
17 |
f'paraphrase: {Content_to_Rephrase}',
|
18 |
return_tensors="pt", padding="longest",
|
19 |
+
max_length=1000,
|
20 |
truncation=True,
|
21 |
).input_ids
|
22 |
|