Update src/paraphrase/Paraphrase.py
Browse files
src/paraphrase/Paraphrase.py
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
|
|
| 1 |
from transformers import PegasusForConditionalGeneration, PegasusTokenizer
|
| 2 |
import torch
|
| 3 |
import src.exception.Exception.Exception as ExceptionCustom
|
|
|
|
| 1 |
+
from nltk.tokenize import sent_tokenize
|
| 2 |
from transformers import PegasusForConditionalGeneration, PegasusTokenizer
|
| 3 |
import torch
|
| 4 |
import src.exception.Exception.Exception as ExceptionCustom
|