Spaces:
Running on Zero
Running on Zero
Upload folder using huggingface_hub
Browse files- __pycache__/app.cpython-311.pyc +0 -0
- app.py +1 -1
__pycache__/app.cpython-311.pyc
ADDED
|
Binary file (10.9 kB). View file
|
|
|
app.py
CHANGED
|
@@ -78,7 +78,7 @@ def _prepare_audio(filepath: str) -> tuple[np.ndarray, float]:
|
|
| 78 |
return data, len(data) / SAMPLE_RATE
|
| 79 |
|
| 80 |
|
| 81 |
-
@spaces.GPU(duration=
|
| 82 |
def transcribe(audio: str | None = None, progress=gr.Progress()) -> str:
|
| 83 |
"""Transcribe Persian (Farsi) speech to text with BuzzASR/persian.
|
| 84 |
|
|
|
|
| 78 |
return data, len(data) / SAMPLE_RATE
|
| 79 |
|
| 80 |
|
| 81 |
+
@spaces.GPU(duration=20)
|
| 82 |
def transcribe(audio: str | None = None, progress=gr.Progress()) -> str:
|
| 83 |
"""Transcribe Persian (Farsi) speech to text with BuzzASR/persian.
|
| 84 |
|