kokuma commited on
Commit
bddca11
·
verified ·
1 Parent(s): f44a566

Replace quotes

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1065,7 +1065,7 @@ def change_language(randomize_imgs, randomize_labels):
1065
  else:
1066
  text_features = None
1067
  correct_text = gr.Text(
1068
- f"Correct was: ''. Question 1/{len(babel_imagenet["EN"][0])} ", label="Game"
1069
  )
1070
  player_score_text = gr.Text(f"Your choice: (Score: 0) ", label="Player")
1071
  clip_score_text = gr.Text(f"mSigLIP chose: '' (Score: 0)", label="Opponent")
@@ -1095,7 +1095,7 @@ def select(idx, choice, correct, model_choice, player_score, clip_score, choices
1095
  clip_score = clip_score + int(model_correct)
1096
 
1097
  correct_text = gr.Text(
1098
- f"Correct was: '{correct_name}'. Question {idx+1}/{len(babel_imagenet["EN"][0])} ",
1099
  label="Game",
1100
  )
1101
  player_score_text = gr.Text(
 
1065
  else:
1066
  text_features = None
1067
  correct_text = gr.Text(
1068
+ f"Correct was: ''. Question 1/{len(babel_imagenet['EN'][0])} ", label="Game"
1069
  )
1070
  player_score_text = gr.Text(f"Your choice: (Score: 0) ", label="Player")
1071
  clip_score_text = gr.Text(f"mSigLIP chose: '' (Score: 0)", label="Opponent")
 
1095
  clip_score = clip_score + int(model_correct)
1096
 
1097
  correct_text = gr.Text(
1098
+ f"Correct was: '{correct_name}'. Question {idx+1}/{len(babel_imagenet['EN'][0])} ",
1099
  label="Game",
1100
  )
1101
  player_score_text = gr.Text(