mirror of
https://github.com/SevaSk/ecoute.git
synced 2024-12-19 20:57:53 +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
|
||||
from datetime import datetime
|
||||
|
||||
|
@ -4,7 +4,7 @@ import wave
|
||||
import os
|
||||
import threading
|
||||
from tempfile import NamedTemporaryFile
|
||||
import speech_recognition as sr
|
||||
import custom_speech_recognition as sr
|
||||
import io
|
||||
from datetime import timedelta
|
||||
from time import sleep
|
||||
|
@ -1,4 +1,4 @@
|
||||
import speech_recognition as sr
|
||||
import custom_speech_recognition as sr
|
||||
|
||||
r = sr.Recognizer()
|
||||
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
|
||||
from io import BytesIO
|
||||
|
||||
from speech_recognition.audio import AudioData
|
||||
from speech_recognition.exceptions import SetupError
|
||||
from custom_speech_recognition.audio import AudioData
|
||||
from custom_speech_recognition.exceptions import SetupError
|
||||
|
||||
|
||||
def recognize_whisper_api(
|
Loading…
Reference in New Issue
Block a user