Spaces:
Running
Running
Update src/paraphrase/Paraphrase.py
Browse files
src/paraphrase/Paraphrase.py
CHANGED
@@ -9,7 +9,7 @@ tokenizer = PegasusTokenizer.from_pretrained('tuner007/pegasus_paraphrase')
|
|
9 |
model = PegasusForConditionalGeneration.from_pretrained('tuner007/pegasus_paraphrase')
|
10 |
|
11 |
|
12 |
-
def paraphraseParaphraseMethod(requestValue : str):
|
13 |
exception = ""
|
14 |
result_value = ""
|
15 |
|
|
|
9 |
model = PegasusForConditionalGeneration.from_pretrained('tuner007/pegasus_paraphrase')
|
10 |
|
11 |
|
12 |
+
def paraphraseParaphraseMethod(requestValue : str, model: str):
|
13 |
exception = ""
|
14 |
result_value = ""
|
15 |
|