Amitontheweb commited on
Commit
82227ba
·
verified ·
1 Parent(s): d19b7e2

Update app.py

Browse files

max_length = 1,000

Files changed (1) hide show
  1. app.py +1 -1
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=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