Ziyang Wang commited on
Commit
483161e
·
1 Parent(s): 7b3d33e

make About the default landing tab

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -270,6 +270,9 @@ with gr.Blocks(title="EgoMemReason Leaderboard") as demo:
270
 
271
  login_btn = gr.LoginButton()
272
 
 
 
 
273
  with gr.Tab("Leaderboard"):
274
  with gr.Row():
275
  show_all = gr.Checkbox(
@@ -334,9 +337,6 @@ with gr.Blocks(title="EgoMemReason Leaderboard") as demo:
334
  demo.load(load_my_submissions, outputs=[my_subs])
335
  select_btn.click(set_my_selected, inputs=[selected_id], outputs=[manage_msg, my_subs])
336
 
337
- with gr.Tab("About"):
338
- gr.Markdown(ABOUT_MD)
339
-
340
 
341
  if __name__ == "__main__":
342
  demo.queue().launch()
 
270
 
271
  login_btn = gr.LoginButton()
272
 
273
+ with gr.Tab("About"):
274
+ gr.Markdown(ABOUT_MD)
275
+
276
  with gr.Tab("Leaderboard"):
277
  with gr.Row():
278
  show_all = gr.Checkbox(
 
337
  demo.load(load_my_submissions, outputs=[my_subs])
338
  select_btn.click(set_my_selected, inputs=[selected_id], outputs=[manage_msg, my_subs])
339
 
 
 
 
340
 
341
  if __name__ == "__main__":
342
  demo.queue().launch()