Update core/silero_vad.py
Browse files- core/silero_vad.py +1 -1
core/silero_vad.py
CHANGED
|
@@ -238,12 +238,12 @@
|
|
| 238 |
# except Exception as e:
|
| 239 |
# print(f"❌ Lỗi lấy speech probability: {e}")
|
| 240 |
# return 0.0import torch
|
|
|
|
| 241 |
import numpy as np
|
| 242 |
from typing import Optional, Callable
|
| 243 |
from config.settings import settings
|
| 244 |
import os
|
| 245 |
import time
|
| 246 |
-
import torch
|
| 247 |
|
| 248 |
class SileroVAD:
|
| 249 |
def __init__(self):
|
|
|
|
| 238 |
# except Exception as e:
|
| 239 |
# print(f"❌ Lỗi lấy speech probability: {e}")
|
| 240 |
# return 0.0import torch
|
| 241 |
+
import torch
|
| 242 |
import numpy as np
|
| 243 |
from typing import Optional, Callable
|
| 244 |
from config.settings import settings
|
| 245 |
import os
|
| 246 |
import time
|
|
|
|
| 247 |
|
| 248 |
class SileroVAD:
|
| 249 |
def __init__(self):
|