Spaces:
Running
Running
Update src/Paraphrase.py
Browse files- src/Paraphrase.py +1 -1
src/Paraphrase.py
CHANGED
|
@@ -2,7 +2,7 @@ import nltk
|
|
| 2 |
from nltk.tokenize import sent_tokenize
|
| 3 |
from transformers import PegasusForConditionalGeneration, PegasusTokenizer
|
| 4 |
import torch
|
| 5 |
-
import src.exception.Exception
|
| 6 |
|
| 7 |
METHOD = "PARAPHRASE"
|
| 8 |
|
|
|
|
| 2 |
from nltk.tokenize import sent_tokenize
|
| 3 |
from transformers import PegasusForConditionalGeneration, PegasusTokenizer
|
| 4 |
import torch
|
| 5 |
+
import src.exception.Exception as ExceptionCustom
|
| 6 |
|
| 7 |
METHOD = "PARAPHRASE"
|
| 8 |
|