BtB-ExpC commited on
Commit
71e0af2
·
1 Parent(s): ebad301

for distractor in distractors: print(distractor)

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -268,8 +268,8 @@ def chatbot(input):
268
  # Randomly choose between OneTrue and NoneTrue based on the probabilities
269
  random_version = random.choices([exercise_1, exercise_2, exercise_3, exercise_4], weights=probabilities, k=1)[0]
270
 
271
- return distractors
272
-
273
 
274
  inputs = gr.Textbox(lines=7, label="Input")
275
  outputs = gr.Textbox(label="Output")
 
268
  # Randomly choose between OneTrue and NoneTrue based on the probabilities
269
  random_version = random.choices([exercise_1, exercise_2, exercise_3, exercise_4], weights=probabilities, k=1)[0]
270
 
271
+ for distractor in distractors:
272
+ print(distractor)
273
 
274
  inputs = gr.Textbox(lines=7, label="Input")
275
  outputs = gr.Textbox(label="Output")