Spaces:
Running
on
Zero
Running
on
Zero
os.path.exists
Browse files
app.py
CHANGED
@@ -91,7 +91,7 @@ def run_rerun(path_to_video):
|
|
91 |
yield stream.read()
|
92 |
|
93 |
# clean up
|
94 |
-
if os.exists(path_to_video):
|
95 |
os.remove(path_to_video)
|
96 |
|
97 |
|
|
|
91 |
yield stream.read()
|
92 |
|
93 |
# clean up
|
94 |
+
if os.path.exists(path_to_video):
|
95 |
os.remove(path_to_video)
|
96 |
|
97 |
|