Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -107,8 +107,6 @@ def _normalize_audio(audio_path: str) -> str:
|
|
| 107 |
|
| 108 |
@spaces.GPU(duration=180)
|
| 109 |
def _run_diarization(audio: dict[str, Any]) -> tuple[Any, float]:
|
| 110 |
-
import time;
|
| 111 |
-
time.sleep(180)
|
| 112 |
if _PIPELINE is None:
|
| 113 |
raise RuntimeError("Pipeline must be loaded before running diarization.")
|
| 114 |
|
|
|
|
| 107 |
|
| 108 |
@spaces.GPU(duration=180)
|
| 109 |
def _run_diarization(audio: dict[str, Any]) -> tuple[Any, float]:
|
|
|
|
|
|
|
| 110 |
if _PIPELINE is None:
|
| 111 |
raise RuntimeError("Pipeline must be loaded before running diarization.")
|
| 112 |
|