CathieDaDa commited on
Commit
f871e5e
Β·
verified Β·
1 Parent(s): 9d22b52

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -11,10 +11,10 @@ df3 = pd.read_csv(file3)
11
  def display_table(table_choice):
12
  if table_choice == "Option 1: ε€§θ―­θ¨€ζ¨‘εž‹ζŽ¨η†θƒ½εŠ›η»ΌεˆζŽ’ε":
13
  return df3
14
- elif table_choice == "Option 2: ζƒ…ε’ƒζŽ¨η†θƒ½εŠ›ζŽ’ε":
15
- return df2
16
- elif table_choice == "Option 3: εŸΊη‘€ι€»θΎ‘θƒ½εŠ›ζŽ’ε":
17
  return df1
 
 
18
 
19
  with gr.Blocks() as demo:
20
  gr.Markdown(
@@ -27,8 +27,8 @@ with gr.Blocks() as demo:
27
  with gr.Tab("ε€§θ―­θ¨€ζ¨‘εž‹ζŽ¨η†θƒ½εŠ›θ―„ζ΅‹"):
28
  with gr.Column():
29
  dropdown = gr.Dropdown(choices=["Option 1: ε€§θ―­θ¨€ζ¨‘εž‹ζŽ¨η†θƒ½εŠ›η»ΌεˆζŽ’ε",
30
- "Option 2: ζƒ…ε’ƒζŽ¨η†θƒ½εŠ›ζŽ’ε",
31
- "Option 3: εŸΊη‘€ι€»θΎ‘θƒ½εŠ›ζŽ’ε"],
32
  label="Select a Leaderboard",
33
  value="Option 1: ε€§θ―­θ¨€ζ¨‘εž‹ζŽ¨η†θƒ½εŠ›η»ΌεˆζŽ’ε")
34
 
 
11
  def display_table(table_choice):
12
  if table_choice == "Option 1: ε€§θ―­θ¨€ζ¨‘εž‹ζŽ¨η†θƒ½εŠ›η»ΌεˆζŽ’ε":
13
  return df3
14
+ elif table_choice == "Option 2: εŸΊη‘€ι€»θΎ‘θƒ½εŠ›ζŽ’ε":
 
 
15
  return df1
16
+ elif table_choice == "Option 3: ζƒ…ε’ƒζŽ¨η†θƒ½εŠ›ζŽ’ε":
17
+ return df2
18
 
19
  with gr.Blocks() as demo:
20
  gr.Markdown(
 
27
  with gr.Tab("ε€§θ―­θ¨€ζ¨‘εž‹ζŽ¨η†θƒ½εŠ›θ―„ζ΅‹"):
28
  with gr.Column():
29
  dropdown = gr.Dropdown(choices=["Option 1: ε€§θ―­θ¨€ζ¨‘εž‹ζŽ¨η†θƒ½εŠ›η»ΌεˆζŽ’ε",
30
+ "Option 2: εŸΊη‘€ι€»θΎ‘θƒ½εŠ›ζŽ’ε",
31
+ "Option 3: ζƒ…ε’ƒζŽ¨η†θƒ½εŠ›ζŽ’ε"],
32
  label="Select a Leaderboard",
33
  value="Option 1: ε€§θ―­θ¨€ζ¨‘εž‹ζŽ¨η†θƒ½εŠ›η»ΌεˆζŽ’ε")
34