Update app.py
Browse files
app.py
CHANGED
|
@@ -13,7 +13,7 @@ import numpy as np
|
|
| 13 |
from transformers import HubertForCTC, Wav2Vec2Processor
|
| 14 |
|
| 15 |
# Config
|
| 16 |
-
model_name = "Yehor/
|
| 17 |
|
| 18 |
min_duration = 0.5
|
| 19 |
max_duration = 60
|
|
@@ -75,7 +75,7 @@ description_head = f"""
|
|
| 75 |
|
| 76 |
## Overview
|
| 77 |
|
| 78 |
-
This space uses https://huggingface.co/Yehor/
|
| 79 |
|
| 80 |
> Due to resource limitations, audio duration **must not** exceed **{max_duration}** seconds.
|
| 81 |
""".strip()
|
|
|
|
| 13 |
from transformers import HubertForCTC, Wav2Vec2Processor
|
| 14 |
|
| 15 |
# Config
|
| 16 |
+
model_name = "Yehor/hubert-uk"
|
| 17 |
|
| 18 |
min_duration = 0.5
|
| 19 |
max_duration = 60
|
|
|
|
| 75 |
|
| 76 |
## Overview
|
| 77 |
|
| 78 |
+
This space uses https://huggingface.co/Yehor/hubert-uk model to recognize audio files.
|
| 79 |
|
| 80 |
> Due to resource limitations, audio duration **must not** exceed **{max_duration}** seconds.
|
| 81 |
""".strip()
|