Spaces:
Running
on
Zero
Running
on
Zero
Update stf_utils.py
Browse files- stf_utils.py +1 -1
stf_utils.py
CHANGED
|
@@ -2,7 +2,7 @@ import torch
|
|
| 2 |
import os
|
| 3 |
from concurrent.futures import ThreadPoolExecutor
|
| 4 |
from pydub import AudioSegment
|
| 5 |
-
import cv2
|
| 6 |
from pathlib import Path
|
| 7 |
import subprocess
|
| 8 |
from pathlib import Path
|
|
|
|
| 2 |
import os
|
| 3 |
from concurrent.futures import ThreadPoolExecutor
|
| 4 |
from pydub import AudioSegment
|
| 5 |
+
import cv2; cv2.setNumThreads(0); cv2.ocl.setUseOpenCL(False)
|
| 6 |
from pathlib import Path
|
| 7 |
import subprocess
|
| 8 |
from pathlib import Path
|