Skip to content

Commit

Permalink
more fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Geun Han Chung authored and Geun Han Chung committed Nov 24, 2024
1 parent f50b479 commit 615f697
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/generate_answer.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def generate_initial_note(page_content, model, tokenizer):
)
final_output = ""
for output in outputs:
final_output += tokenizer.decode(output, skip_special_tokens=True).to(device)
final_output += tokenizer.decode(output, skip_special_tokens=True)
return final_output

def generate_note(page_content, note_content, model, tokenizer):
Expand Down

0 comments on commit 615f697

Please sign in to comment.