Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -19,6 +19,8 @@ def generate_text(inp):
|
|
19 |
|
20 |
sent = tokenizer.decode(diverse_beams_outputs[0], skip_special_tokens = True, clean_up_tokenization_spaces = True)
|
21 |
return sent
|
22 |
-
|
|
|
|
|
23 |
output_text = gr.outputs.Textbox()
|
24 |
-
gr.Interface(generate_text, "textbox", output_text).launch(inline=False)
|
|
|
19 |
|
20 |
sent = tokenizer.decode(diverse_beams_outputs[0], skip_special_tokens = True, clean_up_tokenization_spaces = True)
|
21 |
return sent
|
22 |
+
|
23 |
+
title = "Paraphraser One"
|
24 |
+
|
25 |
output_text = gr.outputs.Textbox()
|
26 |
+
gr.Interface(generate_text, "textbox", title=title, output_text).launch(inline=False)
|