fffiloni commited on
Commit
7aba245
·
verified ·
1 Parent(s): 7f9d65e

Update app.py

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