Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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"
|