Spaces:
Running
Running
Update soni_translate/speech_segmentation.py
Browse files
soni_translate/speech_segmentation.py
CHANGED
@@ -81,7 +81,7 @@ def load_align_and_align_segments(result, audio, DAMHF):
|
|
81 |
|
82 |
return alignment_result
|
83 |
|
84 |
-
@spaces.GPU
|
85 |
def diarize_audio(diarize_model, audio_wav, min_speakers, max_speakers):
|
86 |
|
87 |
if os.environ.get("ZERO_GPU") == "TRUE":
|
|
|
81 |
|
82 |
return alignment_result
|
83 |
|
84 |
+
@spaces.GPU
|
85 |
def diarize_audio(diarize_model, audio_wav, min_speakers, max_speakers):
|
86 |
|
87 |
if os.environ.get("ZERO_GPU") == "TRUE":
|