Spaces:
Runtime error
Runtime error
Commit
·
3c17b68
1
Parent(s):
3c8b724
Update app.py
Browse files
app.py
CHANGED
|
@@ -28,8 +28,7 @@ def inference(input_text):
|
|
| 28 |
break
|
| 29 |
question_part = question_answer_pairs[i][1].split("?")[0] + "?"
|
| 30 |
answer_part = question_answer_pairs[i][1].split("?")[1].strip()
|
| 31 |
-
|
| 32 |
-
break
|
| 33 |
result += f"Question: {question_part}\nAnswer: {answer_part}\n\n"
|
| 34 |
|
| 35 |
return result
|
|
|
|
| 28 |
break
|
| 29 |
question_part = question_answer_pairs[i][1].split("?")[0] + "?"
|
| 30 |
answer_part = question_answer_pairs[i][1].split("?")[1].strip()
|
| 31 |
+
|
|
|
|
| 32 |
result += f"Question: {question_part}\nAnswer: {answer_part}\n\n"
|
| 33 |
|
| 34 |
return result
|