Spaces:
Runtime error
Runtime error
messing with call delay
Browse files
app.py
CHANGED
@@ -47,7 +47,7 @@ def call_pitch(pitch):
|
|
47 |
output = model(pitch_tensor)
|
48 |
output = F.softmax(output,dim=1)
|
49 |
final_call = classify_pitch(output)
|
50 |
-
time.sleep(video_length
|
51 |
|
52 |
return final_call,ump_out
|
53 |
|
|
|
47 |
output = model(pitch_tensor)
|
48 |
output = F.softmax(output,dim=1)
|
49 |
final_call = classify_pitch(output)
|
50 |
+
#time.sleep(video_length) #wait until the video is done to return the call
|
51 |
|
52 |
return final_call,ump_out
|
53 |
|