Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1136,8 +1136,6 @@ def prepare(raw_idx, text_embeddings, class_order):
|
|
1136 |
choice_values[correct_choice_idx],
|
1137 |
]
|
1138 |
|
1139 |
-
for i, name in enumerate(choice_names):
|
1140 |
-
choice_names[i] = f"({i+1}) {name}"
|
1141 |
choice_values = list(zip(choice_names, choice_values))
|
1142 |
|
1143 |
next_radio = gr.Radio(
|
@@ -1188,10 +1186,14 @@ def reroll(raw_idx, text_embeddings, class_order):
|
|
1188 |
choice_values[correct_choice_idx],
|
1189 |
]
|
1190 |
|
1191 |
-
for i, name in enumerate(choice_names):
|
1192 |
-
choice_names[i] = f"({i+1}) {name}"
|
1193 |
choice_values = list(zip(choice_names, choice_values))
|
1194 |
|
|
|
|
|
|
|
|
|
|
|
|
|
1195 |
next_radio = gr.Radio(
|
1196 |
choices=choice_values,
|
1197 |
interactive=True,
|
|
|
1136 |
choice_values[correct_choice_idx],
|
1137 |
]
|
1138 |
|
|
|
|
|
1139 |
choice_values = list(zip(choice_names, choice_values))
|
1140 |
|
1141 |
next_radio = gr.Radio(
|
|
|
1186 |
choice_values[correct_choice_idx],
|
1187 |
]
|
1188 |
|
|
|
|
|
1189 |
choice_values = list(zip(choice_names, choice_values))
|
1190 |
|
1191 |
+
print("choice_values")
|
1192 |
+
print(choice_values)
|
1193 |
+
|
1194 |
+
print("correct_choice")
|
1195 |
+
print(correct_choice)
|
1196 |
+
|
1197 |
next_radio = gr.Radio(
|
1198 |
choices=choice_values,
|
1199 |
interactive=True,
|