ayethuzar commited on
Commit
d9a4f25
·
unverified ·
1 Parent(s): e904e4b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -51,7 +51,7 @@ model_name = "ayethuzar/tuned-for-patentability"
51
  model = AutoModelForSequenceClassification.from_pretrained(model_name)
52
  tokenizer = AutoTokenizer.from_pretrained(model_name)
53
 
54
- test = [user_input_abstract[0] + user_input_claims[0]
55
 
56
  if submit:
57
  batch = tokenizer(test, padding = True, truncation = True, max_length = 512, return_tensors = "pt")
 
51
  model = AutoModelForSequenceClassification.from_pretrained(model_name)
52
  tokenizer = AutoTokenizer.from_pretrained(model_name)
53
 
54
+ test = [user_input_abstract[0] + user_input_claims[0]]
55
 
56
  if submit:
57
  batch = tokenizer(test, padding = True, truncation = True, max_length = 512, return_tensors = "pt")