Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ g2_model.to(device)
|
|
18 |
def generate_multiple_choice_question(
|
19 |
context
|
20 |
):
|
21 |
-
num_questions =
|
22 |
question_item = question_generation_sampling(
|
23 |
g1_model, g1_tokenizer,
|
24 |
g2_model, g2_tokenizer,
|
|
|
18 |
def generate_multiple_choice_question(
|
19 |
context
|
20 |
):
|
21 |
+
num_questions = 5
|
22 |
question_item = question_generation_sampling(
|
23 |
g1_model, g1_tokenizer,
|
24 |
g2_model, g2_tokenizer,
|