devendergarg14 commited on
Commit
0602420
1 Parent(s): 0d66eb8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -12,7 +12,9 @@ def query(input_sentence,num,start):
12
  return '\n\n'.join([i for i in string3[0:]])
13
  title = "Paraphrasing"
14
  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."
15
- article = "<p style='text-align: center'><a href='https://github.com/EleutherAI/gpt-neo'>GPT-NEO GitHub</a></p>"
 
 
16
  gr.Interface(fn=query, inputs=[gr.inputs.Textbox(lines=4, label="Input Text (Single Sentence)"),
17
  gr.inputs.Slider( minimum=1, maximum=5, step=1, default=2, label="Numbers of Outputs"),
18
  gr.inputs.Textbox(lines=1, label="Starting Point (optional)")],
 
12
  return '\n\n'.join([i for i in string3[0:]])
13
  title = "Paraphrasing"
14
  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."
15
+ #article = "<p style='text-align: center'><a href='https://github.com/EleutherAI/gpt-neo'>GPT-NEO GitHub</a></p>"
16
+ 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>"
17
+
18
  gr.Interface(fn=query, inputs=[gr.inputs.Textbox(lines=4, label="Input Text (Single Sentence)"),
19
  gr.inputs.Slider( minimum=1, maximum=5, step=1, default=2, label="Numbers of Outputs"),
20
  gr.inputs.Textbox(lines=1, label="Starting Point (optional)")],