delrickOliveira commited on
Commit
2be1acf
1 Parent(s): 61e9436

Formating output

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -23,7 +23,7 @@ def answer_question(context, question):
23
  ]
24
  )
25
 
26
- return predictions[0]['answer']
27
 
28
 
29
  iface = gr.Interface(
 
23
  ]
24
  )
25
 
26
+ return predictions[0]['answer'][0]
27
 
28
 
29
  iface = gr.Interface(