Update app.py
Browse files
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
|
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)
|