Update app.py
Browse files
app.py
CHANGED
@@ -114,7 +114,7 @@ with block:
|
|
114 |
<polygon points="40, 30, 84, 30, 62, 69" style="fill:red;stroke:red;stroke-width:5;" />
|
115 |
</svg>
|
116 |
|
117 |
-
<h1 style="font-weight: 900; margin-bottom: 7px;
|
118 |
Whisper
|
119 |
</h1>
|
120 |
|
@@ -131,7 +131,8 @@ with block:
|
|
131 |
</div>
|
132 |
<p style="margin-bottom: 10px; font-size: 94%">
|
133 |
Whisper is a general-purpose speech recognition model. It has been 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. </p>
|
134 |
-
<p>This app is written in Gradio by OpenAI. This is a fork by JTHTEO
|
|
|
135 |
</p>
|
136 |
</div>
|
137 |
"""
|
@@ -145,7 +146,6 @@ with block:
|
|
145 |
source="microphone",
|
146 |
type="filepath"
|
147 |
)
|
148 |
-
|
149 |
btn = gr.Button("Transcribe")
|
150 |
text = gr.Textbox(show_label=False)
|
151 |
|
|
|
114 |
<polygon points="40, 30, 84, 30, 62, 69" style="fill:red;stroke:red;stroke-width:5;" />
|
115 |
</svg>
|
116 |
|
117 |
+
<h1 style="font-weight: 900; margin-bottom: 7px; color:red;">
|
118 |
Whisper
|
119 |
</h1>
|
120 |
|
|
|
131 |
</div>
|
132 |
<p style="margin-bottom: 10px; font-size: 94%">
|
133 |
Whisper is a general-purpose speech recognition model. It has been 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. </p>
|
134 |
+
<p>This app is written in Gradio by OpenAI. This is a fork by JTHTEO.</p>
|
135 |
+
<p>This uses the Small multi-lingual 244mill parameter Whisper model. See <a href="https://github.com/openai/whisper/blob/main/model-card.md">Model Card</a> </p>
|
136 |
</p>
|
137 |
</div>
|
138 |
"""
|
|
|
146 |
source="microphone",
|
147 |
type="filepath"
|
148 |
)
|
|
|
149 |
btn = gr.Button("Transcribe")
|
150 |
text = gr.Textbox(show_label=False)
|
151 |
|