multimodalart HF Staff commited on
Commit
1edf050
·
verified ·
1 Parent(s): 4fe52c8

Upload folder using huggingface_hub

Browse files
Files changed (2) hide show
  1. __pycache__/app.cpython-311.pyc +0 -0
  2. 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=45)
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