Amitontheweb commited on
Commit
5ee6f5d
·
1 Parent(s): 0eef0dc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -45,10 +45,13 @@ def paraphrase(
45
 
46
  return res1, res2, res3
47
 
 
 
 
48
 
49
  iface = gr.Interface(fn=paraphrase,
50
  inputs=["text"],
51
- outputs=["text","text","text"],
52
  title="AI Paraphraser",
53
  description="<h3>How to use the content rephraser / re-writer</h3><br><ul><li list-style: square inside;>Paste text in the input box and press 'Submit'.</li><li>Input only short pieces of content</li><li>Creativity level : Medium (Temperature value = 0.7)</li><li>The rephrased sentences / paragraphs *may not* be better than the original input.</li></ul>",
54
  examples=[
 
45
 
46
  return res1, res2, res3
47
 
48
+ output1 = gr.Textbox(label="**Rephrased: Option 1**")
49
+ output2 = gr.Textbox(label="**Rephrased: Option 2**")
50
+ output3 = gr.Textbox(label="**Rephrased: Option 3**")
51
 
52
  iface = gr.Interface(fn=paraphrase,
53
  inputs=["text"],
54
+ outputs=[output1, output2, output3],
55
  title="AI Paraphraser",
56
  description="<h3>How to use the content rephraser / re-writer</h3><br><ul><li list-style: square inside;>Paste text in the input box and press 'Submit'.</li><li>Input only short pieces of content</li><li>Creativity level : Medium (Temperature value = 0.7)</li><li>The rephrased sentences / paragraphs *may not* be better than the original input.</li></ul>",
57
  examples=[