devendergarg14 commited on
Commit
db1ac2b
1 Parent(s): d37567f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ def query(input_sentence,num,start):
20
  title = "Paraphrasing with GPT-NEO"
21
  description = "Gradio Demo for Paraphrasing with GPT-NEO. Simply add one line sentence in the Input. It is possible to control the start of output paraphrased sentences using optional Starting Point Input. If outputs are not satisfactory try to increase number of outputs"
22
  article = "<div style='text-align: center;'><a href='https://github.com/EleutherAI/gpt-neo'>GPT-NEO GitHub</a> | <center><img src='https://visitor-badge.glitch.me/badge?page_id=devendergarg14_Paraphrasing_with_GPT_Neo' alt='visitor badge'></center></div>"
23
- examples=[['The sky, at sunset, looked like a carnivorous flower.',4,'The reddish'],['Inside us there is something that has no name, that something is what we are.',4,'']]
24
  gr.Interface(fn=query, inputs=[gr.inputs.Textbox(lines=4, label="Input Text (Single Sentence)"),
25
  gr.inputs.Slider( minimum=1, maximum=10, step=1, default=4, label="Numbers of Outputs"),
26
  gr.inputs.Textbox(lines=1, label="Starting Point (optional)")],
20
  title = "Paraphrasing with GPT-NEO"
21
  description = "Gradio Demo for Paraphrasing with GPT-NEO. Simply add one line sentence in the Input. It is possible to control the start of output paraphrased sentences using optional Starting Point Input. If outputs are not satisfactory try to increase number of outputs"
22
  article = "<div style='text-align: center;'><a href='https://github.com/EleutherAI/gpt-neo'>GPT-NEO GitHub</a> | <center><img src='https://visitor-badge.glitch.me/badge?page_id=devendergarg14_Paraphrasing_with_GPT_Neo' alt='visitor badge'></center></div>"
23
+ examples=[['The sky, at sunset, looked like a carnivorous flower.',4,'The coloured reddish'],['Inside us there is something that has no name, that something is what we are.',4,'']]
24
  gr.Interface(fn=query, inputs=[gr.inputs.Textbox(lines=4, label="Input Text (Single Sentence)"),
25
  gr.inputs.Slider( minimum=1, maximum=10, step=1, default=4, label="Numbers of Outputs"),
26
  gr.inputs.Textbox(lines=1, label="Starting Point (optional)")],