ZennyKenny commited on
Commit
1893d64
·
verified ·
1 Parent(s): 710b2f5

update for use with zero

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -32,7 +32,7 @@ def transcribe_long_audio(audio_path, transcriber, chunk_duration=30):
32
  print(f"Error in transcribe_long_audio: {e}")
33
  return f"Error processing audio: {e}"
34
 
35
- @spaces.GPU(duration=3)
36
  def main():
37
  device = 0 if torch.cuda.is_available() else -1
38
 
 
32
  print(f"Error in transcribe_long_audio: {e}")
33
  return f"Error processing audio: {e}"
34
 
35
+ @spaces.GPU
36
  def main():
37
  device = 0 if torch.cuda.is_available() else -1
38