annading commited on
Commit
6209508
·
1 Parent(s): c032acd

upgraded gradio version, filesystem change

Browse files
Files changed (3) hide show
  1. .gitignore +2 -0
  2. app.py +1 -1
  3. owl_core.py +1 -1
.gitignore ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ *.pyc
2
+ */__pycache__/**
app.py CHANGED
@@ -114,4 +114,4 @@ with gr.Blocks() as demo:
114
  """
115
  )
116
 
117
- demo.launch(share=False)
 
114
  """
115
  )
116
 
117
+ demo.launch(share=True)
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'../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
 
57
 
58
  # create new dirs and paths for results
59
  filename = os.path.splitext(os.path.basename(vid_path))[0]
60
+ results_dir = f'../temp/{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