Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Clémentine
commited on
Commit
•
2a643ca
1
Parent(s):
b838ed1
update gradio version
Browse files- README.md +1 -1
- app.py +2 -0
- requirements.txt +1 -1
README.md
CHANGED
@@ -4,7 +4,7 @@ emoji: 🦾
|
|
4 |
colorFrom: orange
|
5 |
colorTo: indigo
|
6 |
sdk: gradio
|
7 |
-
sdk_version: 3.
|
8 |
app_file: app.py
|
9 |
pinned: true
|
10 |
license: apache-2.0
|
|
|
4 |
colorFrom: orange
|
5 |
colorTo: indigo
|
6 |
sdk: gradio
|
7 |
+
sdk_version: 4.3.0
|
8 |
app_file: app.py
|
9 |
pinned: true
|
10 |
license: apache-2.0
|
app.py
CHANGED
@@ -186,10 +186,12 @@ with demo:
|
|
186 |
with gr.Tab("Results: Validation"):
|
187 |
leaderboard_table_val = gr.components.Dataframe(
|
188 |
value=eval_dataframe_val, datatype=TYPES, interactive=False,
|
|
|
189 |
)
|
190 |
with gr.Tab("Results: Test"):
|
191 |
leaderboard_table_test = gr.components.Dataframe(
|
192 |
value=eval_dataframe_test, datatype=TYPES, interactive=False,
|
|
|
193 |
)
|
194 |
|
195 |
refresh_button = gr.Button("Refresh")
|
|
|
186 |
with gr.Tab("Results: Validation"):
|
187 |
leaderboard_table_val = gr.components.Dataframe(
|
188 |
value=eval_dataframe_val, datatype=TYPES, interactive=False,
|
189 |
+
column_widths=["20%"]
|
190 |
)
|
191 |
with gr.Tab("Results: Test"):
|
192 |
leaderboard_table_test = gr.components.Dataframe(
|
193 |
value=eval_dataframe_test, datatype=TYPES, interactive=False,
|
194 |
+
column_widths=["20%"]
|
195 |
)
|
196 |
|
197 |
refresh_button = gr.Button("Refresh")
|
requirements.txt
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
datasets==2.14.5
|
2 |
-
gradio==3.
|
3 |
huggingface-hub==0.18.0
|
4 |
numpy==1.24.2
|
5 |
APScheduler==3.10.1
|
|
|
1 |
datasets==2.14.5
|
2 |
+
gradio==4.3.0
|
3 |
huggingface-hub==0.18.0
|
4 |
numpy==1.24.2
|
5 |
APScheduler==3.10.1
|