Spaces:
Running
Running
Yurii Paniv
commited on
Commit
•
b2b69bd
1
Parent(s):
e2f1242
Update model to 0.5 on HF
Browse files
app.py
CHANGED
@@ -10,12 +10,12 @@ from stt import Model
|
|
10 |
|
11 |
|
12 |
MODEL_NAMES = [
|
13 |
-
"With scorer",
|
14 |
"No scorer"
|
15 |
]
|
16 |
|
17 |
# download model
|
18 |
-
version = "v0.
|
19 |
storage_url = f"https://github.com/robinhad/voice-recognition-ua/releases/download/{version}"
|
20 |
model_name = "uk.tflite"
|
21 |
scorer_name = "kenlm.scorer"
|
@@ -98,5 +98,5 @@ iface = gr.Interface(
|
|
98 |
)
|
99 |
|
100 |
download(model_link, model_name)
|
101 |
-
download(scorer_link, scorer_name)
|
102 |
iface.launch()
|
|
|
10 |
|
11 |
|
12 |
MODEL_NAMES = [
|
13 |
+
# "With scorer",
|
14 |
"No scorer"
|
15 |
]
|
16 |
|
17 |
# download model
|
18 |
+
version = "v0.5"
|
19 |
storage_url = f"https://github.com/robinhad/voice-recognition-ua/releases/download/{version}"
|
20 |
model_name = "uk.tflite"
|
21 |
scorer_name = "kenlm.scorer"
|
|
|
98 |
)
|
99 |
|
100 |
download(model_link, model_name)
|
101 |
+
#download(scorer_link, scorer_name)
|
102 |
iface.launch()
|