NimaBoscarino commited on
Commit
94e0686
β€’
1 Parent(s): d527821

Comment out empty tabs

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -373,10 +373,10 @@ def category_tab(category):
373
  with gr.Tab(label="πŸ€— Hugging Face Papers"):
374
  with gr.Row(elem_id="spaces-flex"):
375
  [paper_tile(p) for p in papers.filter(lambda p: category.category_id in p["tags"])]
376
- with gr.Tab(label="Models - Coming Soon!"):
377
- gr.Markdown(elem_id="margin-top", value="#### Check back soon for featured models πŸ€—")
378
- with gr.Tab(label="Datasets - Coming Soon!"):
379
- gr.Markdown(elem_id="margin-top", value="#### Check back soon for featured datasets πŸ€—")
380
 
381
 
382
  with gr.Blocks(css="#margin-top {margin-top: 15px} #center {text-align: center;} #news-tab {padding: 15px;} #news-tab h3 {margin: 0px; text-align: center;} #news-tab p {margin: 0px;} #article-button {flex-grow: initial;} #news-row {align-items: center;} #spaces-flex {flex-wrap: wrap; justify-content: space-around;} #space-card { display: flex; min-width: calc(90% / 3); max-width:calc(100% / 3); box-sizing: border-box;} #event-tabs {margin-top: 0px;} #spaces-flex > #paper-tile {min-width: 30%; max-width: 30%;}") as demo:
373
  with gr.Tab(label="πŸ€— Hugging Face Papers"):
374
  with gr.Row(elem_id="spaces-flex"):
375
  [paper_tile(p) for p in papers.filter(lambda p: category.category_id in p["tags"])]
376
+ # with gr.Tab(label="Models - Coming Soon!"):
377
+ # gr.Markdown(elem_id="margin-top", value="#### Check back soon for featured models πŸ€—")
378
+ # with gr.Tab(label="Datasets - Coming Soon!"):
379
+ # gr.Markdown(elem_id="margin-top", value="#### Check back soon for featured datasets πŸ€—")
380
 
381
 
382
  with gr.Blocks(css="#margin-top {margin-top: 15px} #center {text-align: center;} #news-tab {padding: 15px;} #news-tab h3 {margin: 0px; text-align: center;} #news-tab p {margin: 0px;} #article-button {flex-grow: initial;} #news-row {align-items: center;} #spaces-flex {flex-wrap: wrap; justify-content: space-around;} #space-card { display: flex; min-width: calc(90% / 3); max-width:calc(100% / 3); box-sizing: border-box;} #event-tabs {margin-top: 0px;} #spaces-flex > #paper-tile {min-width: 30%; max-width: 30%;}") as demo: