fffiloni commited on
Commit
6724ff0
·
verified ·
1 Parent(s): 0e7d26a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -377,7 +377,7 @@ def switch_working_frame(working_frame, scanned_frames, video_frames_dir):
377
  # Extract the integer from the match
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:
 
377
  # Extract the integer from the match
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])
381
  return new_working_frame, gr.State([]), gr.State([]), new_working_frame, new_working_frame
382
 
383
  with gr.Blocks() as demo: