mirror of
https://github.com/SevaSk/ecoute.git
synced 2025-06-05 01:00:47 +00:00
renamed to custom speech recognition
This commit is contained in:
parent
2c1986fd6d
commit
12bff6bcaa
@ -1,4 +1,4 @@
|
|||||||
import speech_recognition as sr
|
import custom_speech_recognition as sr
|
||||||
import pyaudiowpatch as pyaudio
|
import pyaudiowpatch as pyaudio
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@ import wave
|
|||||||
import os
|
import os
|
||||||
import threading
|
import threading
|
||||||
from tempfile import NamedTemporaryFile
|
from tempfile import NamedTemporaryFile
|
||||||
import speech_recognition as sr
|
import custom_speech_recognition as sr
|
||||||
import io
|
import io
|
||||||
from datetime import timedelta
|
from datetime import timedelta
|
||||||
from time import sleep
|
from time import sleep
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import speech_recognition as sr
|
import custom_speech_recognition as sr
|
||||||
|
|
||||||
r = sr.Recognizer()
|
r = sr.Recognizer()
|
||||||
m = sr.Microphone()
|
m = sr.Microphone()
|
Before Width: | Height: | Size: 2.8 MiB After Width: | Height: | Size: 2.8 MiB |
@ -3,8 +3,8 @@ from __future__ import annotations
|
|||||||
import os
|
import os
|
||||||
from io import BytesIO
|
from io import BytesIO
|
||||||
|
|
||||||
from speech_recognition.audio import AudioData
|
from custom_speech_recognition.audio import AudioData
|
||||||
from speech_recognition.exceptions import SetupError
|
from custom_speech_recognition.exceptions import SetupError
|
||||||
|
|
||||||
|
|
||||||
def recognize_whisper_api(
|
def recognize_whisper_api(
|
Loading…
x
Reference in New Issue
Block a user