Spaces:
Runtime error
Runtime error
Update app.py
Browse files21 unmodified lines22232425262728293021 unmodified linesdef process_video(video_path, prompt, num_steps, degradation_level):output_folder="noise_warp_output_folder"if os.path.exists(output_folder):# Delete the folder and its contentsshutil.rmtree(output_folder)output_video="output.mp4"device="cuda"21 unmodified lines222324252627282930313233343521 unmodified linesdef process_video(video_path, prompt, num_steps, degradation_level):output_folder="noise_warp_output_folder"if os.path.exists(output_folder):# Delete the folder and its contentsshutil.rmtree(output_folder)# Check if the file exists and delete itif os.path.exists("output.mp4"):os.remove("output.mp4")output_video="output.mp4"device="cuda"
app.py+5