Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
mrfakename
commited on
Commit
•
dfca048
1
Parent(s):
c4e7fbc
Update app.py
Browse files
app.py
CHANGED
@@ -372,7 +372,7 @@ def reload(chosenmodel1=None, chosenmodel2=None, userid=None):
|
|
372 |
# if chosenmodel2: out.append(f'This model was {chosenmodel2}')
|
373 |
# return out
|
374 |
# return (f'This model was {chosenmodel1}', f'This model was {chosenmodel2}', gr.update(visible=False), gr.update(visible=False))
|
375 |
-
return (gr.update(
|
376 |
|
377 |
with gr.Blocks() as leaderboard:
|
378 |
gr.Markdown(LDESC)
|
|
|
372 |
# if chosenmodel2: out.append(f'This model was {chosenmodel2}')
|
373 |
# return out
|
374 |
# return (f'This model was {chosenmodel1}', f'This model was {chosenmodel2}', gr.update(visible=False), gr.update(visible=False))
|
375 |
+
return (gr.update(variant='secondary', value=chosenmodel1, interactive=False), gr.update(variant='secondary', value=chosenmodel2, interactive=False))
|
376 |
|
377 |
with gr.Blocks() as leaderboard:
|
378 |
gr.Markdown(LDESC)
|