rameshmoorthy
commited on
Commit
•
180d310
1
Parent(s):
a075e6f
Update app.py
Browse files
app.py
CHANGED
@@ -309,7 +309,7 @@ with gr.Blocks(title="Quiz Maker", theme=gr.themes.Default(primary_hue="green",
|
|
309 |
print(question_radios)
|
310 |
|
311 |
@spaces.GPU
|
312 |
-
@generate_quiz_btn.click(inputs=[radio, topic], outputs=[quiz_msg
|
313 |
def generate_quiz(question_difficulty, topic):
|
314 |
top_k_rank=10
|
315 |
RAG_db_=RAG_db.value
|
|
|
309 |
print(question_radios)
|
310 |
|
311 |
@spaces.GPU
|
312 |
+
@generate_quiz_btn.click(inputs=[radio, topic], outputs=[quiz_msg]+question_radios, api_name="generate_quiz")
|
313 |
def generate_quiz(question_difficulty, topic):
|
314 |
top_k_rank=10
|
315 |
RAG_db_=RAG_db.value
|