Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -382,11 +382,11 @@ def reload(chosenmodel1=None, chosenmodel2=None, userid=None, chose_a=False, cho
|
|
382 |
if chose_a:
|
383 |
out.append(gr.update(value=f'π {chosenmodel1}', interactive=False, visible=True))
|
384 |
else:
|
385 |
-
out.append(gr.update(value=chosenmodel1, interactive=False, visible=True))
|
386 |
if chose_b:
|
387 |
out.append(gr.update(value=f'π {chosenmodel2}', interactive=False, visible=True))
|
388 |
else:
|
389 |
-
out.append(gr.update(value=chosenmodel2, interactive=False, visible=True))
|
390 |
return out
|
391 |
|
392 |
with gr.Blocks() as leaderboard:
|
|
|
382 |
if chose_a:
|
383 |
out.append(gr.update(value=f'π {chosenmodel1}', interactive=False, visible=True))
|
384 |
else:
|
385 |
+
out.append(gr.update(value=f'π₯Ί {chosenmodel1}', interactive=False, visible=True))
|
386 |
if chose_b:
|
387 |
out.append(gr.update(value=f'π {chosenmodel2}', interactive=False, visible=True))
|
388 |
else:
|
389 |
+
out.append(gr.update(value=f'π₯Ί {chosenmodel2}', interactive=False, visible=True))
|
390 |
return out
|
391 |
|
392 |
with gr.Blocks() as leaderboard:
|