Undo sorting
This commit is contained in:
@@ -4,23 +4,32 @@
|
|||||||
# SPDX-License-Identifier: BSD 2-Clause License
|
# SPDX-License-Identifier: BSD 2-Clause License
|
||||||
#
|
#
|
||||||
|
|
||||||
import asyncio
|
|
||||||
import base64
|
|
||||||
import io
|
|
||||||
import json
|
import json
|
||||||
import time
|
|
||||||
import uuid
|
import uuid
|
||||||
|
import base64
|
||||||
|
import asyncio
|
||||||
|
import time
|
||||||
|
|
||||||
from typing import AsyncGenerator
|
from typing import AsyncGenerator
|
||||||
|
|
||||||
from loguru import logger
|
from pipecat.frames.frames import (
|
||||||
|
CancelFrame,
|
||||||
from pipecat.frames.frames import (AudioRawFrame, CancelFrame, EndFrame,
|
ErrorFrame,
|
||||||
ErrorFrame, Frame, LLMFullResponseEndFrame,
|
Frame,
|
||||||
StartFrame, StartInterruptionFrame,
|
AudioRawFrame,
|
||||||
TextFrame, TTSStartedFrame, TTSStoppedFrame)
|
StartInterruptionFrame,
|
||||||
|
StartFrame,
|
||||||
|
EndFrame,
|
||||||
|
TTSStartedFrame,
|
||||||
|
TTSStoppedFrame,
|
||||||
|
TextFrame,
|
||||||
|
LLMFullResponseEndFrame
|
||||||
|
)
|
||||||
from pipecat.processors.frame_processor import FrameDirection
|
from pipecat.processors.frame_processor import FrameDirection
|
||||||
from pipecat.services.ai_services import AsyncWordTTSService
|
|
||||||
from pipecat.transcriptions.language import Language
|
from pipecat.transcriptions.language import Language
|
||||||
|
from pipecat.services.ai_services import AsyncWordTTSService
|
||||||
|
|
||||||
|
from loguru import logger
|
||||||
|
|
||||||
# See .env.example for Cartesia configuration needed
|
# See .env.example for Cartesia configuration needed
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user