fffiloni commited on
Commit
edaa886
β€’
1 Parent(s): 2abb50e

fix output_folder var

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -102,7 +102,7 @@ def infer(video_frames, masks_frames, project_name):
102
  print(item)
103
 
104
  # List the content of the "bmx-trees" folder within "results"
105
- results_folder = os.path.join(output_folder, f"{project_name}")
106
  results_folder_content = [os.path.join(results_folder, item) for item in os.listdir(results_folder)]
107
 
108
  print(f"Contents of the {results_folder} folder:")
 
102
  print(item)
103
 
104
  # List the content of the "bmx-trees" folder within "results"
105
+ results_folder = os.path.join(output_folder, my_video_directory)
106
  results_folder_content = [os.path.join(results_folder, item) for item in os.listdir(results_folder)]
107
 
108
  print(f"Contents of the {results_folder} folder:")