bconsolvo commited on
Commit
1a305aa
1 Parent(s): 6571d18

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -40,7 +40,7 @@ def predict(context,question):
40
  # dense_duration = (dense_end_time - dense_start_time) * 1000
41
  # dense_answer = dense_predictions['answer']
42
 
43
- return sparse_answer,sparse_duration,sparse_score,sparse_start #,dense_answer,dense_duration
44
 
45
  md = """This prediction model is designed to answer a question about a given input text--reading comprehension. The model does not just answer questions in general -- it only works from the text that you provide. However, automated reading comprehension can be a valuable task.
46
 
 
40
  # dense_duration = (dense_end_time - dense_start_time) * 1000
41
  # dense_answer = dense_predictions['answer']
42
 
43
+ return sparse_answer,sparse_score,sparse_start,sparse_duration #,dense_answer,dense_duration
44
 
45
  md = """This prediction model is designed to answer a question about a given input text--reading comprehension. The model does not just answer questions in general -- it only works from the text that you provide. However, automated reading comprehension can be a valuable task.
46