Spaces:
Running
Running
gr.Audio
Browse files
README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
---
|
2 |
-
title:
|
3 |
emoji: π’
|
4 |
colorFrom: blue
|
5 |
colorTo: yellow
|
|
|
1 |
---
|
2 |
+
title: W2V Bert2 Czech
|
3 |
emoji: π’
|
4 |
colorFrom: blue
|
5 |
colorTo: yellow
|
app.py
CHANGED
@@ -36,14 +36,14 @@ def transcribe(audio_path):
|
|
36 |
iface = gr.Interface(
|
37 |
fn=transcribe,
|
38 |
inputs=[
|
39 |
-
gr.
|
40 |
],
|
41 |
outputs="text",
|
42 |
theme="huggingface",
|
43 |
-
title="Czech
|
44 |
description=(
|
45 |
"Transcribe audio inputs with the click of a button! Demo uses the fine-tuned"
|
46 |
-
f" checkpoint [{MODEL_NAME}](https://huggingface.co/{MODEL_NAME}) from Facebook
|
47 |
"and π€ Transformers to transcribe audio files of arbitrary length."
|
48 |
),
|
49 |
allow_flagging="never",
|
|
|
36 |
iface = gr.Interface(
|
37 |
fn=transcribe,
|
38 |
inputs=[
|
39 |
+
gr.Audio(sources="upload", type="filepath", label="Upload Audio File"), # Audio file upload
|
40 |
],
|
41 |
outputs="text",
|
42 |
theme="huggingface",
|
43 |
+
title="Czech W2V-BERT 2.0 speech encoder demo - transcribe Czech Audio",
|
44 |
description=(
|
45 |
"Transcribe audio inputs with the click of a button! Demo uses the fine-tuned"
|
46 |
+
f" checkpoint [{MODEL_NAME}](https://huggingface.co/{MODEL_NAME}) from Facebook W2V-BERT 2.0 speech encoder "
|
47 |
"and π€ Transformers to transcribe audio files of arbitrary length."
|
48 |
),
|
49 |
allow_flagging="never",
|