mlabonne commited on
Commit
2fc92d7
·
verified ·
1 Parent(s): 74435dd

Add queueing, disable API

Browse files

thanks

@mrfakename
for the tips

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -436,4 +436,4 @@ with gr.Blocks() as demo:
436
  gr.Markdown('<div align="center"><p style="font-size: 36px;">🏆 Leaderboard</p></div>')
437
  leaderboard = gr.Dataframe(value=elo_ratings_df)
438
 
439
- demo.launch()
 
436
  gr.Markdown('<div align="center"><p style="font-size: 36px;">🏆 Leaderboard</p></div>')
437
  leaderboard = gr.Dataframe(value=elo_ratings_df)
438
 
439
+ demo.queue(api_open=False).launch(show_api=False)