Spaces:
Sleeping
Sleeping
Change the version
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ import gradio as gr
|
|
7 |
|
8 |
from transformers import AutoModelForCTC, Wav2Vec2BertProcessor
|
9 |
|
10 |
-
model_name = "Yehor/w2v-bert-2.0-uk"
|
11 |
device = "cpu"
|
12 |
max_duration = 30
|
13 |
|
@@ -24,11 +24,11 @@ audio_samples = [
|
|
24 |
]
|
25 |
|
26 |
description_head = """
|
27 |
-
# Speech-to-Text for Ukrainian
|
28 |
|
29 |
## Overview
|
30 |
|
31 |
-
This space uses https://huggingface.co/Yehor/w2v-bert-2.0-uk model that solves
|
32 |
a Speech-to-Text task for the Ukrainian language.
|
33 |
""".strip()
|
34 |
|
|
|
7 |
|
8 |
from transformers import AutoModelForCTC, Wav2Vec2BertProcessor
|
9 |
|
10 |
+
model_name = "Yehor/w2v-bert-2.0-uk-v2"
|
11 |
device = "cpu"
|
12 |
max_duration = 30
|
13 |
|
|
|
24 |
]
|
25 |
|
26 |
description_head = """
|
27 |
+
# Speech-to-Text for Ukrainian v2
|
28 |
|
29 |
## Overview
|
30 |
|
31 |
+
This space uses https://huggingface.co/Yehor/w2v-bert-2.0-uk-v2 model that solves
|
32 |
a Speech-to-Text task for the Ukrainian language.
|
33 |
""".strip()
|
34 |
|