41727469634d6f6e6b65793a32302e30332e32343a31393532
Browse files- audio2text/a2t.py +4 -2
audio2text/a2t.py
CHANGED
@@ -6,8 +6,10 @@ LIMIT = 90 # limit 90 seconds
|
|
6 |
|
7 |
class A2T:
|
8 |
def __init__(self, mic):
|
9 |
-
print(
|
10 |
-
|
|
|
|
|
11 |
|
12 |
def __preprocces(self, audio, frame_rate):
|
13 |
try:
|
|
|
6 |
|
7 |
class A2T:
|
8 |
def __init__(self, mic):
|
9 |
+
print(mic.export().read())
|
10 |
+
print(mic.export())
|
11 |
+
print(mic.read())
|
12 |
+
self.mic = mic
|
13 |
|
14 |
def __preprocces(self, audio, frame_rate):
|
15 |
try:
|