maxidl commited on
Commit
72bd649
·
1 Parent(s): 4d564f8
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -35,7 +35,7 @@ def generate(paper_text):
35
  ).to(model.device)
36
 
37
  generated_ids = model.generate(
38
- **model_inputs,
39
  max_new_tokens=256
40
  )
41
  generated_ids = [
 
35
  ).to(model.device)
36
 
37
  generated_ids = model.generate(
38
+ input_ids=model_inputs,
39
  max_new_tokens=256
40
  )
41
  generated_ids = [