Spaces:
Running on Zero
Running on Zero
Upload app.py with huggingface_hub
Browse files
app.py
CHANGED
|
@@ -71,7 +71,7 @@ def _greedy(lp: np.ndarray) -> str:
|
|
| 71 |
return sp.decode(out)
|
| 72 |
|
| 73 |
|
| 74 |
-
@spaces.GPU(duration=
|
| 75 |
def transcribe(audio_path: str, use_lm: bool = True, hotwords: str = ""):
|
| 76 |
"""Transcribe Azerbaijani speech to text with speakwrite-azerbaijani (FastConformer-CTC + 6-gram KenLM).
|
| 77 |
|
|
|
|
| 71 |
return sp.decode(out)
|
| 72 |
|
| 73 |
|
| 74 |
+
@spaces.GPU(duration=20)
|
| 75 |
def transcribe(audio_path: str, use_lm: bool = True, hotwords: str = ""):
|
| 76 |
"""Transcribe Azerbaijani speech to text with speakwrite-azerbaijani (FastConformer-CTC + 6-gram KenLM).
|
| 77 |
|