eloi-goncalves commited on
Commit
4dec23b
·
1 Parent(s): 960aaf4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -9,6 +9,7 @@ def answer_question(question,context):
9
  text = '''{'question': {}, 'context': {} }'''.format(question, context)
10
  di=ast.literal_eval(text)
11
  response = my_pipeline(di)
 
12
  return response
13
 
14
  grad.Interface(answer_question, inputs=["text","text"], outputs="text").launch()
 
9
  text = '''{'question': {}, 'context': {} }'''.format(question, context)
10
  di=ast.literal_eval(text)
11
  response = my_pipeline(di)
12
+ print('response', response)
13
  return response
14
 
15
  grad.Interface(answer_question, inputs=["text","text"], outputs="text").launch()