yingzhi commited on
Commit
a4430c5
·
verified ·
1 Parent(s): ec69747

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -73,11 +73,16 @@ original_df.sort_values(by="Average WER⬇️", inplace=True)
73
 
74
  TYPES = ['str', 'number', 'number', 'number', 'number', 'number', 'number', 'number', 'number', 'number', 'number', 'number', 'number', 'number', 'number']
75
 
 
 
 
 
 
76
 
77
  def request_model(model_text):
78
  return styled_message("🤗 Please launch a discussion in our GitHub repo, thank you. 🤗")
79
 
80
- with gr.Blocks() as demo:
81
  gr.HTML(BANNER, elem_id="banner")
82
  gr.Markdown(INTRODUCTION_TEXT, elem_classes="markdown-text")
83
 
 
73
 
74
  TYPES = ['str', 'number', 'number', 'number', 'number', 'number', 'number', 'number', 'number', 'number', 'number', 'number', 'number', 'number', 'number']
75
 
76
+ LEADERBOARD_CSS = """
77
+ #leaderboard-table th .header-content {
78
+ white-space: nowrap;
79
+ }
80
+ """
81
 
82
  def request_model(model_text):
83
  return styled_message("🤗 Please launch a discussion in our GitHub repo, thank you. 🤗")
84
 
85
+ with gr.Blocks(css=LEADERBOARD_CSS) as demo:
86
  gr.HTML(BANNER, elem_id="banner")
87
  gr.Markdown(INTRODUCTION_TEXT, elem_classes="markdown-text")
88