smjain commited on
Commit
8006e20
1 Parent(s): a582bde

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -15,7 +15,7 @@ def text2text_paraphrase(sentence1,sentence2):
15
  response=text2text_tkn.batch_decode(tokens)
16
  return response
17
 
18
- sent1=grad.Textbox(lines=1, label="English Text", placeholder="Text in English")
19
- sent2=grad.Textbox(lines=1, label="English Text", placeholder="Text in English")
20
  out=grad.Textbox(lines=1, label="Whether the sentence is acceptable or not")
21
  grad.Interface(text2text_paraphrase, inputs=[sent1,sent2], outputs=out).launch()
 
15
  response=text2text_tkn.batch_decode(tokens)
16
  return response
17
 
18
+ sent1=grad.Textbox(lines=1, label="Sentence1", placeholder="Text in English")
19
+ sent2=grad.Textbox(lines=1, label="Sentence2", placeholder="Text in English")
20
  out=grad.Textbox(lines=1, label="Whether the sentence is acceptable or not")
21
  grad.Interface(text2text_paraphrase, inputs=[sent1,sent2], outputs=out).launch()