Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -105,7 +105,7 @@ def _normalize_audio(audio_path: str) -> str:
|
|
| 105 |
return str(normalized_path)
|
| 106 |
|
| 107 |
|
| 108 |
-
@spaces.GPU(duration=
|
| 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.")
|
|
|
|
| 105 |
return str(normalized_path)
|
| 106 |
|
| 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.")
|