smjain commited on
Commit
95d0ffa
1 Parent(s): 18b9ff6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ def text2text(answer,context):
15
  response=text2text_tkn.decode(output[0])
16
  return response
17
 
18
- txt=grad.Textbox(lines=10, label="English", placeholder="Context")
19
  ans=grad.Textbox(lines=1, label="Answer")
20
  out=grad.Textbox(lines=1, label="Genereated Question")
21
  grad.Interface(text2text, inputs=[txt,ans], outputs=out).launch()
 
15
  response=text2text_tkn.decode(output[0])
16
  return response
17
 
18
+ txt=grad.Textbox(lines=5, label="English", placeholder="Context")
19
  ans=grad.Textbox(lines=1, label="Answer")
20
  out=grad.Textbox(lines=1, label="Genereated Question")
21
  grad.Interface(text2text, inputs=[txt,ans], outputs=out).launch()