CatoEr commited on
Commit
341055f
1 Parent(s): ba18439

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -111,7 +111,7 @@ def predict(*text):
111
  padding=True,
112
  truncation=True,
113
  return_tensors='pt',
114
- max_length=128,
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)