fffiloni commited on
Commit
2abb50e
1 Parent(s): 821ff96

fox timestamp wrong position

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -19,14 +19,14 @@ def execute_command(command: str) -> None:
19
 
20
  def infer(video_frames, masks_frames, project_name):
21
 
22
-
23
  # Create the directory if it doesn't exist
24
  my_video_directory = f"{project_name}"
25
  if not os.path.exists(my_video_directory):
26
  os.makedirs(my_video_directory)
27
  else:
28
  # If the directory already exists, add a timestamp to the new directory name
29
- timestamp = datetime.datetime.now().strftime("%Y%m%d%H%M%S")
30
  my_video_directory = f"{project_name}_{timestamp}"
31
  os.makedirs(my_video_directory)
32
 
 
19
 
20
  def infer(video_frames, masks_frames, project_name):
21
 
22
+ timestamp = datetime.datetime.now().strftime("%Y%m%d%H%M%S")
23
  # Create the directory if it doesn't exist
24
  my_video_directory = f"{project_name}"
25
  if not os.path.exists(my_video_directory):
26
  os.makedirs(my_video_directory)
27
  else:
28
  # If the directory already exists, add a timestamp to the new directory name
29
+
30
  my_video_directory = f"{project_name}_{timestamp}"
31
  os.makedirs(my_video_directory)
32