Update app.py
Browse files
app.py
CHANGED
|
@@ -24,7 +24,7 @@ VIDEO_DIRECTORY = None
|
|
| 24 |
|
| 25 |
def clear_cuda_memory():
|
| 26 |
torch.cuda.empty_cache()
|
| 27 |
-
gc.collect(
|
| 28 |
|
| 29 |
def run_inference(video_path, audio_path, video_out_path,
|
| 30 |
inference_ckpt_path, unet_config_path="configs/unet/second_stage.yaml",
|
|
|
|
| 24 |
|
| 25 |
def clear_cuda_memory():
|
| 26 |
torch.cuda.empty_cache()
|
| 27 |
+
gc.collect()
|
| 28 |
|
| 29 |
def run_inference(video_path, audio_path, video_out_path,
|
| 30 |
inference_ckpt_path, unet_config_path="configs/unet/second_stage.yaml",
|