Spaces:
Sleeping
Sleeping
NCTCMumbai
commited on
Commit
•
502e325
1
Parent(s):
0aecf54
Update app.py
Browse files
app.py
CHANGED
@@ -502,7 +502,7 @@ with gr.Blocks(title="Quiz Maker", theme=gr.themes.Default(primary_hue="green",
|
|
502 |
|
503 |
question_radios = [gr.Radio(visible=False) for _ in range(10)]
|
504 |
|
505 |
-
|
506 |
@generate_quiz_btn.click(inputs=[radio, topic], outputs=[quiz_msg] + question_radios + [gr.File(label="Download Excel")], api_name="generate_quiz")
|
507 |
def generate_quiz(question_difficulty, topic):
|
508 |
top_k_rank = 10
|
|
|
502 |
|
503 |
question_radios = [gr.Radio(visible=False) for _ in range(10)]
|
504 |
|
505 |
+
#@gr.dependencies.GPU
|
506 |
@generate_quiz_btn.click(inputs=[radio, topic], outputs=[quiz_msg] + question_radios + [gr.File(label="Download Excel")], api_name="generate_quiz")
|
507 |
def generate_quiz(question_difficulty, topic):
|
508 |
top_k_rank = 10
|