Commit
·
7b8c2c6
1
Parent(s):
b929154
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ def query(input_sentence,num,start):
|
|
11 |
paraphrase_final.append( paraphrase_text.split('.',1)[0]+".")
|
12 |
return '\n\n'.join([i for i in paraphrase_final[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 = "<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>"
|
16 |
|
17 |
gr.Interface(fn=query, inputs=[gr.inputs.Textbox(lines=4, label="Input Text (Single Sentence)"),
|
|
|
11 |
paraphrase_final.append( paraphrase_text.split('.',1)[0]+".")
|
12 |
return '\n\n'.join([i for i in paraphrase_final[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. If outputs are not satisfactory try to increase number of outputs"
|
15 |
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>"
|
16 |
|
17 |
gr.Interface(fn=query, inputs=[gr.inputs.Textbox(lines=4, label="Input Text (Single Sentence)"),
|