annayding
commited on
Commit
·
1a133bc
1
Parent(s):
1b875e8
fixed path, gradio requires cache dir
Browse files- owl_core.py +1 -1
owl_core.py
CHANGED
@@ -57,7 +57,7 @@ def owl_full_video(
|
|
57 |
|
58 |
# create new dirs and paths for results
|
59 |
filename = os.path.splitext(os.path.basename(vid_path))[0]
|
60 |
-
results_dir = f'
|
61 |
frames_dir = os.path.join(results_dir, "frames")
|
62 |
|
63 |
# if the frames directory does not exist, create it and get the frames from the video
|
|
|
57 |
|
58 |
# create new dirs and paths for results
|
59 |
filename = os.path.splitext(os.path.basename(vid_path))[0]
|
60 |
+
results_dir = f'/results/{filename}_{datetime.now().strftime("%H%M%S")}'
|
61 |
frames_dir = os.path.join(results_dir, "frames")
|
62 |
|
63 |
# if the frames directory does not exist, create it and get the frames from the video
|