mrfakename commited on
Commit
0830050
1 Parent(s): d0dc5de

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -382,7 +382,7 @@ def reload(chosenmodel1=None, chosenmodel2=None, userid=None, chose_a=False, cho
382
  out.append(gr.update(value=f'{chosenmodel2}', interactive=False, visible=True))
383
  else:
384
  out.append(gr.update(value=f'{chosenmodel1}', interactive=False, visible=True))
385
- out.append(gr.update(value=f'Your vote: {chosenmodel1}', interactive=False, visible=True))
386
  return out
387
 
388
  with gr.Blocks() as leaderboard:
 
382
  out.append(gr.update(value=f'{chosenmodel2}', interactive=False, visible=True))
383
  else:
384
  out.append(gr.update(value=f'{chosenmodel1}', interactive=False, visible=True))
385
+ out.append(gr.update(value=f'Your vote: {chosenmodel2}', interactive=False, visible=True))
386
  return out
387
 
388
  with gr.Blocks() as leaderboard: