Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -199,7 +199,7 @@ with gr.Blocks() as demo:
|
|
199 |
try:
|
200 |
leaderboard = gr.Dataframe(refresh_leaderboard())
|
201 |
except:
|
202 |
-
leaderboard=gr.Dataframe()
|
203 |
refresh_btn = gr.Button("Refresh Leaderboard")
|
204 |
|
205 |
# Function to refresh leaderboard
|
|
|
199 |
try:
|
200 |
leaderboard = gr.Dataframe(refresh_leaderboard())
|
201 |
except:
|
202 |
+
leaderboard=gr.Dataframe(columns=['Chatbot', 'ELO Score', 'Games Played'])
|
203 |
refresh_btn = gr.Button("Refresh Leaderboard")
|
204 |
|
205 |
# Function to refresh leaderboard
|