Amitontheweb commited on
Commit
1799bf5
·
verified ·
1 Parent(s): efc85f4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -35,8 +35,10 @@ output1 = gr.Textbox(label="Rephrased: Option 1")
35
  output2 = gr.Textbox(label="Rephrased: Option 2")
36
  output3 = gr.Textbox(label="Rephrased: Option 3")
37
 
 
 
38
  iface = gr.Interface(fn=paraphrase,
39
- inputs=["text", scale=2],
40
  outputs=[output1, output2, output3],
41
  title="Free AI Sentence Rephraser",
42
  description="<ul><li>Paste text in the input box and press 'Submit'.</li><li>Max length: ~35 words (larger content is summarized)</li><li>The rephrased sentences *may not* be better than the original input.</li><li>Model 'humarin' pre-trained by ChatGPT. Temp = 0.7</li></ul>",
 
35
  output2 = gr.Textbox(label="Rephrased: Option 2")
36
  output3 = gr.Textbox(label="Rephrased: Option 3")
37
 
38
+ input = gr.Textbox(scale=0)
39
+
40
  iface = gr.Interface(fn=paraphrase,
41
+ inputs=[input],
42
  outputs=[output1, output2, output3],
43
  title="Free AI Sentence Rephraser",
44
  description="<ul><li>Paste text in the input box and press 'Submit'.</li><li>Max length: ~35 words (larger content is summarized)</li><li>The rephrased sentences *may not* be better than the original input.</li><li>Model 'humarin' pre-trained by ChatGPT. Temp = 0.7</li></ul>",