Seraph19 commited on
Commit
761a0c2
·
verified ·
1 Parent(s): 66730da

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -6
app.py CHANGED
@@ -187,12 +187,17 @@ submit_button.click(
187
  with demo:
188
  gr.HTML(TITLE)
189
  gr.Markdown(INTRODUCTION_TEXT, elem_classes="markdown-text")
190
- with gr.Tabs(elem_classes="tab-buttons") as tabs:
191
- with gr.TabItem("Leaderboard", id=0):
192
- # Your leaderboard component here (e.g., Leaderboard(value=LEADERBOARD_DF))
193
- with gr.TabItem("About", id=1):
194
- gr.Markdown("This is the about section")
195
- with gr.TabItem("Submit", id=2):
 
 
 
 
 
196
  # Your model submission form here
197
  with gr.Tabs(elem_classes="tab-buttons") as tabs:
198
  # ... (your tabs content)
 
187
  with demo:
188
  gr.HTML(TITLE)
189
  gr.Markdown(INTRODUCTION_TEXT, elem_classes="markdown-text")
190
+ with gr.Tabs(elem_classes="tab-buttons") as tabs:
191
+ with gr.TabItem("Tab 1", id=0): # Label: "Tab 1"
192
+ # Content for Tab 1 goes here
193
+ with gr.TabItem("Tab 2", id=1): # Label: "Tab 2"
194
+ # Content for Tab 2 goes here
195
+ with gr.TabItem("Tab 1", id=0):
196
+ gr.Markdown("This is the content of Tab 1")
197
+ gr.Image("path/to/image.jpg")
198
+
199
+ with gr.Tabs(elem_classes="tab-buttons") as tabs:
200
+
201
  # Your model submission form here
202
  with gr.Tabs(elem_classes="tab-buttons") as tabs:
203
  # ... (your tabs content)