jason-moore commited on
Commit
f44fff8
·
1 Parent(s): cb96fe6
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -48,7 +48,7 @@ Please generate a structured SOAP (Subjective, Objective, Assessment, Plan) note
48
 
49
  generate_ids = model.generate(
50
  inputs["input_ids"],
51
- attention_mask=inputs.attention_mask, # Explicitly pass attention mask
52
  max_length=2048,
53
  num_beams=5,
54
  no_repeat_ngram_size=2,
 
48
 
49
  generate_ids = model.generate(
50
  inputs["input_ids"],
51
+ attention_mask=inputs["attention_mask"], # Explicitly pass attention mask
52
  max_length=2048,
53
  num_beams=5,
54
  no_repeat_ngram_size=2,