Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -181,7 +181,7 @@ def inference(question, context):
|
|
181 |
final_answer = "The question is not answerable according to the context."
|
182 |
else:
|
183 |
final_answer = nbest[0]["text"]
|
184 |
-
return final_answer
|
185 |
|
186 |
demo = gr.Interface(
|
187 |
fn=inference,
|
|
|
181 |
final_answer = "The question is not answerable according to the context."
|
182 |
else:
|
183 |
final_answer = nbest[0]["text"]
|
184 |
+
return final_answer, ""
|
185 |
|
186 |
demo = gr.Interface(
|
187 |
fn=inference,
|