hbfreed commited on
Commit
5db56a7
1 Parent(s): 6f1d1cd

fix timing

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -48,7 +48,7 @@ def call_pitch(pitch,progress=gr.Progress()):
48
  final_call = classify_pitch(output)
49
 
50
  differential = time.time() - start
51
- wait_time = (int(video_length-(5+differential))//15)*10
52
  for _ in progress.tqdm(range(wait_time)): #wait until the video is done to return the call and go 5 frames early to seem speedy
53
  time.sleep(0.1)
54
 
 
48
  final_call = classify_pitch(output)
49
 
50
  differential = time.time() - start
51
+ wait_time = (int(video_length-(10+differential))//15)*10
52
  for _ in progress.tqdm(range(wait_time)): #wait until the video is done to return the call and go 5 frames early to seem speedy
53
  time.sleep(0.1)
54