Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
mrfakename
commited on
Commit
•
b0986f3
1
Parent(s):
7c080f6
Update app.py
Browse files
app.py
CHANGED
@@ -178,11 +178,13 @@ def reload(chosenmodel1=None, chosenmodel2=None):
|
|
178 |
if chosenmodel1: out.append(f'This model was {chosenmodel1}')
|
179 |
if chosenmodel2: out.append(f'This model was {chosenmodel2}')
|
180 |
return out
|
|
|
181 |
with gr.Blocks() as leaderboard:
|
182 |
gr.Markdown(LDESC)
|
183 |
# df = gr.Dataframe(interactive=False, value=get_data())
|
184 |
df = gr.Dataframe(interactive=False, min_width=0, wrap=True, column_widths=[200, 50, 50])
|
185 |
leaderboard.load(get_data, outputs=[df])
|
|
|
186 |
with gr.Blocks() as vote:
|
187 |
gr.Markdown(INSTR)
|
188 |
with gr.Row():
|
|
|
178 |
if chosenmodel1: out.append(f'This model was {chosenmodel1}')
|
179 |
if chosenmodel2: out.append(f'This model was {chosenmodel2}')
|
180 |
return out
|
181 |
+
|
182 |
with gr.Blocks() as leaderboard:
|
183 |
gr.Markdown(LDESC)
|
184 |
# df = gr.Dataframe(interactive=False, value=get_data())
|
185 |
df = gr.Dataframe(interactive=False, min_width=0, wrap=True, column_widths=[200, 50, 50])
|
186 |
leaderboard.load(get_data, outputs=[df])
|
187 |
+
|
188 |
with gr.Blocks() as vote:
|
189 |
gr.Markdown(INSTR)
|
190 |
with gr.Row():
|