Wootang01 commited on
Commit
ccfbf4f
1 Parent(s): 87d54d3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -22,5 +22,8 @@ def generate_text(inp):
22
  sent = tokenizer.decode(diverse_beam_outputs[0], skip_special_tokens=True,clean_up_tokenization_spaces=True)
23
  return sent
24
 
 
 
 
25
  output_text = gr.outputs.Textbox()
26
- gr.Interface(generate_text,"textbox", output_text).launch(inline=False)
 
22
  sent = tokenizer.decode(diverse_beam_outputs[0], skip_special_tokens=True,clean_up_tokenization_spaces=True)
23
  return sent
24
 
25
+ title = "Paraphraser One"
26
+ description = "Paraphrase means to express meaning using different words. Write or paste text below, submit, and the machine will attempt to express your meaning using different words."
27
+
28
  output_text = gr.outputs.Textbox()
29
+ gr.Interface(generate_text,"textbox", output_text, title=title, description=description).launch(inline=False)