Delik commited on
Commit
89d654f
1 Parent(s): 93d373e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -32,7 +32,7 @@ def save_audio(audio):
32
 
33
  return "temp.wav"
34
 
35
- @spaces.GPU
36
  def diarize_audio(temp_file, num_speakers, min_speakers, max_speakers):
37
  if pipeline is None:
38
  return "Error: Pipeline not initialized"
 
32
 
33
  return "temp.wav"
34
 
35
+ @spaces.GPU(duration=90)
36
  def diarize_audio(temp_file, num_speakers, min_speakers, max_speakers):
37
  if pipeline is None:
38
  return "Error: Pipeline not initialized"