Update audio2text/a2t.py
Browse files- audio2text/a2t.py +1 -1
audio2text/a2t.py
CHANGED
@@ -26,7 +26,7 @@ class A2T:
|
|
26 |
if self.mic is not None:
|
27 |
chunk = self.mic.get_array_of_samples()
|
28 |
chunk = np.array(chunk)
|
29 |
-
audio = __preprocces(chunk)
|
30 |
print("audio : ", audio)
|
31 |
else:
|
32 |
return "please provide audio"
|
|
|
26 |
if self.mic is not None:
|
27 |
chunk = self.mic.get_array_of_samples()
|
28 |
chunk = np.array(chunk)
|
29 |
+
audio = self.__preprocces(chunk)
|
30 |
print("audio : ", audio)
|
31 |
else:
|
32 |
return "please provide audio"
|