Spaces:
Runtime error
Runtime error
Commit
·
a3695fb
1
Parent(s):
929ff0d
Update app.py
Browse files
app.py
CHANGED
@@ -96,7 +96,7 @@ def predict_answers(inputs):
|
|
96 |
answer = context[offset[start_index][0]: offset[end_index][1]]
|
97 |
predicted_answer.append(answer)
|
98 |
break
|
99 |
-
|
100 |
break
|
101 |
if not flag:
|
102 |
predicted_answer.append(answer)
|
|
|
96 |
answer = context[offset[start_index][0]: offset[end_index][1]]
|
97 |
predicted_answer.append(answer)
|
98 |
break
|
99 |
+
if flag:
|
100 |
break
|
101 |
if not flag:
|
102 |
predicted_answer.append(answer)
|