Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -378,7 +378,7 @@ def switch_working_frame(working_frame, scanned_frames, video_frames_dir):
|
|
378 |
frame_number = int(match.group(1))
|
379 |
ann_frame_idx = frame_number
|
380 |
new_working_frame = os.path.join(video_frames_dir, scanned_frames[ann_frame_idx_frame_idx])
|
381 |
-
|
382 |
|
383 |
with gr.Blocks() as demo:
|
384 |
first_frame_path = gr.State()
|
|
|
378 |
frame_number = int(match.group(1))
|
379 |
ann_frame_idx = frame_number
|
380 |
new_working_frame = os.path.join(video_frames_dir, scanned_frames[ann_frame_idx_frame_idx])
|
381 |
+
return new_working_frame, gr.State([]), gr.State([]), new_working_frame, new_working_frame
|
382 |
|
383 |
with gr.Blocks() as demo:
|
384 |
first_frame_path = gr.State()
|