remove aicoustics from default starter (#64)
This commit is contained in:
@@ -10,7 +10,6 @@ requires-python = ">=3.10, <3.15"
|
|||||||
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"livekit-agents[silero,turn-detector]~=1.5",
|
"livekit-agents[silero,turn-detector]~=1.5",
|
||||||
"livekit-plugins-ai-coustics~=0.2",
|
|
||||||
"livekit-plugins-noise-cancellation~=0.2",
|
"livekit-plugins-noise-cancellation~=0.2",
|
||||||
"python-dotenv",
|
"python-dotenv",
|
||||||
]
|
]
|
||||||
|
|||||||
+2
-4
@@ -12,7 +12,7 @@ from livekit.agents import (
|
|||||||
inference,
|
inference,
|
||||||
room_io,
|
room_io,
|
||||||
)
|
)
|
||||||
from livekit.plugins import ai_coustics, noise_cancellation, silero
|
from livekit.plugins import noise_cancellation, silero
|
||||||
from livekit.plugins.turn_detector.multilingual import MultilingualModel
|
from livekit.plugins.turn_detector.multilingual import MultilingualModel
|
||||||
|
|
||||||
logger = logging.getLogger("agent")
|
logger = logging.getLogger("agent")
|
||||||
@@ -115,9 +115,7 @@ async def my_agent(ctx: JobContext):
|
|||||||
noise_cancellation.BVCTelephony()
|
noise_cancellation.BVCTelephony()
|
||||||
if params.participant.kind
|
if params.participant.kind
|
||||||
== rtc.ParticipantKind.PARTICIPANT_KIND_SIP
|
== rtc.ParticipantKind.PARTICIPANT_KIND_SIP
|
||||||
else ai_coustics.audio_enhancement(
|
else noise_cancellation.BVC()
|
||||||
model=ai_coustics.EnhancerModel.QUAIL_VF_L
|
|
||||||
)
|
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user