vasudevgupta commited on
Commit
b0b6edb
·
1 Parent(s): 9ac7967

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -27,7 +27,7 @@ if __name__ == "__main__":
27
  return answer
28
 
29
  default_context = "BigBird Pegasus just landed! Thanks to Vasudev Gupta, BigBird Pegasus from Google AI is merged into HuggingFace Transformers. Check it out today!!!"
30
- question = gr.inputs.TextBox(lines=2, default="Who added BigBird to HuggingFace Transformers?", label="Question")
31
- context = gr.inputs.TextBox(lines=10, default=default_context, label="Context")
32
 
33
  gr.Interface(fn=get_answer, inputs=[question, context], outputs="text").launch()
 
27
  return answer
28
 
29
  default_context = "BigBird Pegasus just landed! Thanks to Vasudev Gupta, BigBird Pegasus from Google AI is merged into HuggingFace Transformers. Check it out today!!!"
30
+ question = gr.inputs.Textbox(lines=2, default="Who added BigBird to HuggingFace Transformers?", label="Question")
31
+ context = gr.inputs.Textbox(lines=10, default=default_context, label="Context")
32
 
33
  gr.Interface(fn=get_answer, inputs=[question, context], outputs="text").launch()