Nick088 commited on
Commit
f701299
·
verified ·
1 Parent(s): 290831c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -61,7 +61,7 @@ def inference_image(image, size):
61
 
62
  def inference_video(video, size):
63
  _id = randint(1, 10000)
64
- INPUT_DIR = "tmp/" + str(_id)
65
  # Check if the directory exists, if so remove it
66
  if os.path.exists(INPUT_DIR):
67
  shutil.rmtree(INPUT_DIR)
 
61
 
62
  def inference_video(video, size):
63
  _id = randint(1, 10000)
64
+ INPUT_DIR = "tmp"
65
  # Check if the directory exists, if so remove it
66
  if os.path.exists(INPUT_DIR):
67
  shutil.rmtree(INPUT_DIR)