Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,6 @@ import gradio as gr
|
|
8 |
|
9 |
np.random.seed(0)
|
10 |
|
11 |
-
|
12 |
def sample_frame_indices(clip_len, frame_sample_rate, seg_len):
|
13 |
converted_len = int(clip_len * frame_sample_rate)
|
14 |
end_idx = np.random.randint(converted_len, seg_len)
|
|
|
8 |
|
9 |
np.random.seed(0)
|
10 |
|
|
|
11 |
def sample_frame_indices(clip_len, frame_sample_rate, seg_len):
|
12 |
converted_len = int(clip_len * frame_sample_rate)
|
13 |
end_idx = np.random.randint(converted_len, seg_len)
|