Skip to content

Commit 9253a15

Browse files
Update phishing_email_detection_gpt2.py
Typo
1 parent 0eeff75 commit 9253a15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

phishing_email_detection_gpt2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -867,7 +867,7 @@ def complete_text(text):
867867
)
868868
generated_text =\
869869
tokenizer.decode(generated_tokens).replace(text, "")
870-
rerurn generated_text
870+
return generated_text
871871

872872
test_text = "I saw the sun and it was"
873873
response = complete_text(test_text)

0 commit comments

Comments
 (0)