Ratnesh-dev commited on
Commit
7dbe887
·
verified ·
1 Parent(s): 5343b1f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -2
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