kpriyanshu256 commited on
Commit
18eff01
·
1 Parent(s): 6c51676
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -131,7 +131,7 @@ def evaluate_jaccard(text, selected_text, acronym, offsets, idx_start, idx_end):
131
  def disambiguate(text, acronym):
132
 
133
  inputs = process_data(text, acronym, acronym, TOKENIZER, MAX_LEN)
134
- ids = torch.tensor(input['ids'])
135
  mask = torch.tensor(inputs['mask'])
136
  token_type = torch.tensor(inputs['token_type'])
137
  offsets = inputs['offset']
 
131
  def disambiguate(text, acronym):
132
 
133
  inputs = process_data(text, acronym, acronym, TOKENIZER, MAX_LEN)
134
+ ids = torch.tensor(inputs['ids'])
135
  mask = torch.tensor(inputs['mask'])
136
  token_type = torch.tensor(inputs['token_type'])
137
  offsets = inputs['offset']