abidlabs HF Staff commited on
Commit
8e32f76
·
1 Parent(s): c0c25de

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,6 +6,6 @@ question = "Which continent is the Amazon rainforest in?"
6
  io = gr.Interface.load("huggingface/deepset/roberta-base-squad2").launch()
7
 
8
  def simple(context, question):
9
- return io(context, question)[00
10
 
11
  gr.Interface(simple, ["textarea", "textbox"], "textbox"].launch()
 
6
  io = gr.Interface.load("huggingface/deepset/roberta-base-squad2").launch()
7
 
8
  def simple(context, question):
9
+ return io(context, question)[0]
10
 
11
  gr.Interface(simple, ["textarea", "textbox"], "textbox"].launch()