Spaces:
Sleeping
Sleeping
mohammed3536
commited on
Commit
•
32cdcfd
1
Parent(s):
70654e1
Update app.py
Browse files
app.py
CHANGED
@@ -83,6 +83,7 @@ def main():
|
|
83 |
if pdf_file:
|
84 |
text = extract_text_from_pdf(pdf_file)
|
85 |
mcqs = generate_mcqs_on_topic(text, topic, num_mcqs)
|
|
|
86 |
|
87 |
# Display the generated Questions
|
88 |
st.success(f"Generated {num_mcqs} Questions:")
|
|
|
83 |
if pdf_file:
|
84 |
text = extract_text_from_pdf(pdf_file)
|
85 |
mcqs = generate_mcqs_on_topic(text, topic, num_mcqs)
|
86 |
+
question = generate_mcqs_on_topic(context)
|
87 |
|
88 |
# Display the generated Questions
|
89 |
st.success(f"Generated {num_mcqs} Questions:")
|