Spaces:
Sleeping
Sleeping
Commit
·
1a42240
1
Parent(s):
7ff4c26
Update app.py
Browse files
app.py
CHANGED
|
@@ -24,7 +24,7 @@ def generate_questions(text):
|
|
| 24 |
|
| 25 |
for i in result:
|
| 26 |
question_answer = model.generate_qa(i)
|
| 27 |
-
for j in range(len(question_answer):
|
| 28 |
question = question_answer[j][0]
|
| 29 |
final_result.append(question)
|
| 30 |
|
|
|
|
| 24 |
|
| 25 |
for i in result:
|
| 26 |
question_answer = model.generate_qa(i)
|
| 27 |
+
for j in range(len(question_answer)):
|
| 28 |
question = question_answer[j][0]
|
| 29 |
final_result.append(question)
|
| 30 |
|