Rijgersberg commited on
Commit
0bd56e6
·
1 Parent(s): 6a84f9b

Add translation

Browse files
Files changed (1) hide show
  1. app.py +4 -37
app.py CHANGED
@@ -125,47 +125,14 @@ with block:
125
  font-size: 1.75rem;
126
  "
127
  >
128
- <svg
129
- width="0.65em"
130
- height="0.65em"
131
- viewBox="0 0 115 115"
132
- fill="none"
133
- xmlns="http://www.w3.org/2000/svg"
134
- >
135
- <rect width="23" height="23" fill="white"></rect>
136
- <rect y="69" width="23" height="23" fill="white"></rect>
137
- <rect x="23" width="23" height="23" fill="#AEAEAE"></rect>
138
- <rect x="23" y="69" width="23" height="23" fill="#AEAEAE"></rect>
139
- <rect x="46" width="23" height="23" fill="white"></rect>
140
- <rect x="46" y="69" width="23" height="23" fill="white"></rect>
141
- <rect x="69" width="23" height="23" fill="black"></rect>
142
- <rect x="69" y="69" width="23" height="23" fill="black"></rect>
143
- <rect x="92" width="23" height="23" fill="#D9D9D9"></rect>
144
- <rect x="92" y="69" width="23" height="23" fill="#AEAEAE"></rect>
145
- <rect x="115" y="46" width="23" height="23" fill="white"></rect>
146
- <rect x="115" y="115" width="23" height="23" fill="white"></rect>
147
- <rect x="115" y="69" width="23" height="23" fill="#D9D9D9"></rect>
148
- <rect x="92" y="46" width="23" height="23" fill="#AEAEAE"></rect>
149
- <rect x="92" y="115" width="23" height="23" fill="#AEAEAE"></rect>
150
- <rect x="92" y="69" width="23" height="23" fill="white"></rect>
151
- <rect x="69" y="46" width="23" height="23" fill="white"></rect>
152
- <rect x="69" y="115" width="23" height="23" fill="white"></rect>
153
- <rect x="69" y="69" width="23" height="23" fill="#D9D9D9"></rect>
154
- <rect x="46" y="46" width="23" height="23" fill="black"></rect>
155
- <rect x="46" y="115" width="23" height="23" fill="black"></rect>
156
- <rect x="46" y="69" width="23" height="23" fill="black"></rect>
157
- <rect x="23" y="46" width="23" height="23" fill="#D9D9D9"></rect>
158
- <rect x="23" y="115" width="23" height="23" fill="#AEAEAE"></rect>
159
- <rect x="23" y="69" width="23" height="23" fill="black"></rect>
160
  </svg>
161
  <h1 style="font-weight: 900; margin-bottom: 7px;">
162
- Whisper
163
  </h1>
164
  </div>
165
  <p style="margin-bottom: 10px; font-size: 94%">
166
- Whisper is a general-purpose speech recognition model. It is trained on a large dataset of diverse audio and is also a multi-task model that can perform multilingual speech recognition as well as speech translation and language identification. This demo cuts audio after around 30 secs.
167
- </p>
168
- <p>You can skip the queue by using google colab for the space: <a href="https://colab.research.google.com/drive/1WJ98KHgZxFGrHiMm4TyWZllSew_Af_ff?usp=sharing"><img data-canonical-src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab" src="https://camo.githubusercontent.com/84f0493939e0c4de4e6dbe113251b4bfb5353e57134ffd9fcab6b8714514d4d1/68747470733a2f2f636f6c61622e72657365617263682e676f6f676c652e636f6d2f6173736574732f636f6c61622d62616467652e737667"></a></p>
169
  </div>
170
  """
171
  )
@@ -194,7 +161,7 @@ with block:
194
 
195
  gr.HTML('''
196
  <div class="footer">
197
- <p>Model by <a href="https://github.com/openai/whisper" style="text-decoration: underline;" target="_blank">OpenAI</a> - Gradio Demo by 🤗 Hugging Face
198
  </p>
199
  </div>
200
  ''')
 
125
  font-size: 1.75rem;
126
  "
127
  >
128
+ "23" y="69" width="23" height="23" fill="black"></rect>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
129
  </svg>
130
  <h1 style="font-weight: 900; margin-bottom: 7px;">
131
+ 🤫 Whisper demo
132
  </h1>
133
  </div>
134
  <p style="margin-bottom: 10px; font-size: 94%">
135
+ Whisper is een generiek spraakherkenning-model van OpenAI. Het is getraind op een grote, diverse dataset van audio. Het kan audio transcriberen, talen herkennen en vertalen. Deze demo kapt audio af na ongeveer 30 seconden. </p>
 
 
136
  </div>
137
  """
138
  )
 
161
 
162
  gr.HTML('''
163
  <div class="footer">
164
+ <p>Model door <a href="https://github.com/openai/whisper" style="text-decoration: underline;" target="_blank">OpenAI</a> - Demo gebaseerd op de <a href="https://huggingface.co/spaces/openai/whisper" style="text-decoration: underline;" target="_blank">OpenAI Whisper Demo</a> van 🤗 Hugging Face
165
  </p>
166
  </div>
167
  ''')