Spaces:
Sleeping
Sleeping
Update utils.py
Browse files
utils.py
CHANGED
|
@@ -202,8 +202,7 @@ def generate_ai_sentence(idiom, examples_map):
|
|
| 202 |
sentence = random.choice(examples)["en"]
|
| 203 |
return sentence.replace(idiom, "_____")
|
| 204 |
|
| 205 |
-
|
| 206 |
-
return f"I decided to _____."
|
| 207 |
|
| 208 |
def generate_distractors(correct_idiom, all_idioms):
|
| 209 |
pool = [i for i in all_idioms if i != correct_idiom]
|
|
|
|
| 202 |
sentence = random.choice(examples)["en"]
|
| 203 |
return sentence.replace(idiom, "_____")
|
| 204 |
|
| 205 |
+
|
|
|
|
| 206 |
|
| 207 |
def generate_distractors(correct_idiom, all_idioms):
|
| 208 |
pool = [i for i in all_idioms if i != correct_idiom]
|