kokuma commited on
Commit
d19f98b
·
verified ·
1 Parent(s): 1c043c9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -6
app.py CHANGED
@@ -1139,9 +1139,8 @@ def prepare(raw_idx, text_embeddings, class_order):
1139
 
1140
  choice_values = list(zip(choice_names, choice_values))
1141
 
1142
- warnings.warn(choice_values)
1143
-
1144
- warnings.warn(correct_choice)
1145
 
1146
  next_radio = gr.Radio(
1147
  choices=choice_values,
@@ -1193,9 +1192,8 @@ def reroll(raw_idx, text_embeddings, class_order):
1193
 
1194
  choice_values = list(zip(choice_names, choice_values))
1195
 
1196
- warnings.warn(choice_values)
1197
-
1198
- warnings.warn(correct_choice)
1199
 
1200
  next_radio = gr.Radio(
1201
  choices=choice_values,
 
1139
 
1140
  choice_values = list(zip(choice_names, choice_values))
1141
 
1142
+ warnings.warn(f"prepare correct_choice: {correct_choice}")
1143
+ warnings.warn(f"prepare choice_values: {choice_values}")
 
1144
 
1145
  next_radio = gr.Radio(
1146
  choices=choice_values,
 
1192
 
1193
  choice_values = list(zip(choice_names, choice_values))
1194
 
1195
+ warnings.warn(f"reroll correct_choice: {correct_choice}")
1196
+ warnings.warn(f"reroll choice_values: {choice_values}")
 
1197
 
1198
  next_radio = gr.Radio(
1199
  choices=choice_values,