Update app.py
Browse files
app.py
CHANGED
@@ -232,7 +232,7 @@ class AnimateController:
|
|
232 |
|
233 |
# clean-up (otherwise there is a risk of "ghosting", eg. someone seeing the previous generated video",
|
234 |
# of one of the steps go wrong)
|
235 |
-
os.remove(
|
236 |
|
237 |
return video_data_uri
|
238 |
|
|
|
232 |
|
233 |
# clean-up (otherwise there is a risk of "ghosting", eg. someone seeing the previous generated video",
|
234 |
# of one of the steps go wrong)
|
235 |
+
os.remove(save_sample_path)
|
236 |
|
237 |
return video_data_uri
|
238 |
|