Commit
·
d655fed
1
Parent(s):
b04c4fe
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ description = "Gradio Demo for Paraphrasing with GPT-NEO. Simply add one line se
|
|
21 |
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>"
|
22 |
|
23 |
gr.Interface(fn=query, inputs=[gr.inputs.Textbox(lines=4, label="Input Text (Single Sentence)"),
|
24 |
-
gr.inputs.Slider( minimum=1, maximum=
|
25 |
gr.inputs.Textbox(lines=1, label="Starting Point (optional)")],
|
26 |
outputs=["text"],
|
27 |
title=title,description=description,
|
|
|
21 |
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>"
|
22 |
|
23 |
gr.Interface(fn=query, inputs=[gr.inputs.Textbox(lines=4, label="Input Text (Single Sentence)"),
|
24 |
+
gr.inputs.Slider( minimum=1, maximum=10, step=1, default=4, label="Numbers of Outputs"),
|
25 |
gr.inputs.Textbox(lines=1, label="Starting Point (optional)")],
|
26 |
outputs=["text"],
|
27 |
title=title,description=description,
|