Undo sorting

This commit is contained in:
Kunal Shah
2024-09-16 16:06:25 -07:00
parent adaac003e5
commit 0a26b650c0

View File

@@ -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: