Spaces:
Runtime error
Runtime error
Arnaudding001
commited on
Commit
•
58e460c
1
Parent(s):
56c808b
Update vad.py
Browse files
vad.py
CHANGED
@@ -5,7 +5,7 @@ from typing import Any, Deque, Iterator, List, Dict
|
|
5 |
|
6 |
from pprint import pprint
|
7 |
|
8 |
-
from
|
9 |
|
10 |
# Workaround for https://github.com/tensorflow/tensorflow/issues/48797
|
11 |
try:
|
@@ -19,7 +19,7 @@ import torch
|
|
19 |
import ffmpeg
|
20 |
import numpy as np
|
21 |
|
22 |
-
from
|
23 |
from enum import Enum
|
24 |
|
25 |
class NonSpeechStrategy(Enum):
|
|
|
5 |
|
6 |
from pprint import pprint
|
7 |
|
8 |
+
from segments import merge_timestamps
|
9 |
|
10 |
# Workaround for https://github.com/tensorflow/tensorflow/issues/48797
|
11 |
try:
|
|
|
19 |
import ffmpeg
|
20 |
import numpy as np
|
21 |
|
22 |
+
from utils import format_timestamp
|
23 |
from enum import Enum
|
24 |
|
25 |
class NonSpeechStrategy(Enum):
|