Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -303,7 +303,6 @@ def generate_practice_questions(grade_level, subject, topic, num_questions=10):
|
|
| 303 |
if not topic:
|
| 304 |
return None, "⚠️ Please select a topic first!"
|
| 305 |
|
| 306 |
-
prompt = f"""Generate exactly {num_questions} UNEB-style {subject} questions for {grade_level} students on: \"{topic}\"\n\n"
|
| 307 |
prompt = f"""Generate exactly {num_questions} UNEB-style {subject} questions for {grade_level} students on: "{topic}"
|
| 308 |
|
| 309 |
Format your response EXACTLY like this:
|
|
|
|
| 303 |
if not topic:
|
| 304 |
return None, "⚠️ Please select a topic first!"
|
| 305 |
|
|
|
|
| 306 |
prompt = f"""Generate exactly {num_questions} UNEB-style {subject} questions for {grade_level} students on: "{topic}"
|
| 307 |
|
| 308 |
Format your response EXACTLY like this:
|