Update app.py
Browse files
app.py
CHANGED
@@ -12,8 +12,8 @@ model = AutoModelForSeq2SeqLM.from_pretrained("humarin/chatgpt_paraphraser_on_T5
|
|
12 |
|
13 |
def paraphrase(
|
14 |
Content_to_Rephrase,
|
|
|
15 |
num_return_sequences=3,
|
16 |
-
num_beams: 10
|
17 |
):
|
18 |
input_ids = tokenizer(
|
19 |
f'paraphrase: {Content_to_Rephrase}',
|
|
|
12 |
|
13 |
def paraphrase(
|
14 |
Content_to_Rephrase,
|
15 |
+
num_beams: 10,
|
16 |
num_return_sequences=3,
|
|
|
17 |
):
|
18 |
input_ids = tokenizer(
|
19 |
f'paraphrase: {Content_to_Rephrase}',
|