Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ def generate_paraphases(phrase):
|
|
23 |
para_phrases = parrot.augment(
|
24 |
input_phrase=phrase, use_gpu=False, max_return_phrases=5
|
25 |
)
|
26 |
-
return "\n".join(["
|
27 |
|
28 |
|
29 |
input_textbox = gr.Textbox(label="", lines=5)
|
|
|
23 |
para_phrases = parrot.augment(
|
24 |
input_phrase=phrase, use_gpu=False, max_return_phrases=5
|
25 |
)
|
26 |
+
return "\n\n".join(["" + item[0] for item in para_phrases])
|
27 |
|
28 |
|
29 |
input_textbox = gr.Textbox(label="", lines=5)
|