Skip to content

Commit

Permalink
no more pyannote (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewkennedy5 authored Mar 19, 2024
1 parent 90f2997 commit ece65fb
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 147 deletions.
8 changes: 0 additions & 8 deletions openduck-py/openduck_py/routers/voice.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,24 +33,16 @@
WS_SAMPLE_RATE,
)
from openduck_py.utils.daily import create_room, RoomCreateResponse, CustomEventHandler
from openduck_py.utils.speaker_identification import load_pipelines
from openduck_py.utils.third_party_tts import aio_elevenlabs_tts
from openduck_py.logging.slack import log_audio_to_slack


try:
pipeline, inference = load_pipelines()
except OSError:
pipeline, inference = load_pipelines()

with open("aec-cartoon-degraded.wav", "wb") as f:
f.write(
requests.get(
"https://s3.us-west-2.amazonaws.com/quack.uberduck.ai/aec-cartoon-degraded.wav"
).content
)

speaker_embedding = inference("aec-cartoon-degraded.wav")
audio_router = APIRouter(prefix="/audio")

Daily.init()
Expand Down
137 changes: 0 additions & 137 deletions openduck-py/openduck_py/utils/speaker_identification.py

This file was deleted.

2 changes: 0 additions & 2 deletions openduck-py/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ numpy
openai
openai-whisper
phonemizer
pyannote.core
pyannote.audio
pylru
pytest
pytest-mock
Expand Down

0 comments on commit ece65fb

Please sign in to comment.