sanchit-gandhi HF staff commited on
Commit
ea82efc
1 Parent(s): 77c8c12
Files changed (1) hide show
  1. app.py +15 -0
app.py CHANGED
@@ -104,6 +104,21 @@ def get_side_by_side_visualisation(idx):
104
 
105
  if __name__ == "__main__":
106
  with gr.Blocks() as demo:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
107
  gr.Markdown(
108
  "Analyse the transcriptions generated by the Whisper large-v2 and large-32-2 models on the TEDLIUM dev set."
109
  "The transcriptions for both models are shown at the bottom of the demo. The text diff for each is computed "
 
104
 
105
  if __name__ == "__main__":
106
  with gr.Blocks() as demo:
107
+ gr.HTML(
108
+ """
109
+ <div style="text-align: center; max-width: 700px; margin: 0 auto;">
110
+ <div
111
+ style="
112
+ display: inline-flex; align-items: center; gap: 0.8rem; font-size: 1.75rem;
113
+ "
114
+ >
115
+ <h1 style="font-weight: 900; margin-bottom: 7px; line-height: normal;">
116
+ Whisper Transcription Analysis
117
+ </h1>
118
+ </div>
119
+ </div>
120
+ """
121
+ )
122
  gr.Markdown(
123
  "Analyse the transcriptions generated by the Whisper large-v2 and large-32-2 models on the TEDLIUM dev set."
124
  "The transcriptions for both models are shown at the bottom of the demo. The text diff for each is computed "