Update main/app/core/csrt.py
Browse files- main/app/core/csrt.py +1 -1
main/app/core/csrt.py
CHANGED
|
@@ -1,6 +1,7 @@
|
|
| 1 |
import os
|
| 2 |
import gc
|
| 3 |
import sys
|
|
|
|
| 4 |
|
| 5 |
sys.path.append(os.getcwd())
|
| 6 |
|
|
@@ -8,7 +9,6 @@ from main.app.core.ui import gr_info, gr_warning, process_output
|
|
| 8 |
from main.app.variables import config, translations, configs, logger
|
| 9 |
from main.library.utils import check_spk_diarization, clear_gpu_cache
|
| 10 |
|
| 11 |
-
import spaces
|
| 12 |
@spaces.GPU
|
| 13 |
def whisper_process(
|
| 14 |
model_size,
|
|
|
|
| 1 |
import os
|
| 2 |
import gc
|
| 3 |
import sys
|
| 4 |
+
import spaces
|
| 5 |
|
| 6 |
sys.path.append(os.getcwd())
|
| 7 |
|
|
|
|
| 9 |
from main.app.variables import config, translations, configs, logger
|
| 10 |
from main.library.utils import check_spk_diarization, clear_gpu_cache
|
| 11 |
|
|
|
|
| 12 |
@spaces.GPU
|
| 13 |
def whisper_process(
|
| 14 |
model_size,
|