examples: cleanup some 07 interruptible examples

This commit is contained in:
Aleix Conchillo Flaqué
2024-06-13 16:35:15 -07:00
parent 6cdccaff53
commit c086160239
3 changed files with 134 additions and 141 deletions

View File

@@ -5,7 +5,6 @@
# #
import asyncio import asyncio
import aiohttp
import os import os
import sys import sys
@@ -33,7 +32,6 @@ logger.add(sys.stderr, level="DEBUG")
async def main(room_url: str, token): async def main(room_url: str, token):
async with aiohttp.ClientSession() as session:
transport = DailyTransport( transport = DailyTransport(
room_url, room_url,
token, token,

View File

@@ -5,7 +5,6 @@
# #
import asyncio import asyncio
import aiohttp
import os import os
import sys import sys
@@ -19,7 +18,6 @@ from pipecat.services.playht import PlayHTTTSService
from pipecat.services.openai import OpenAILLMService from pipecat.services.openai import OpenAILLMService
from pipecat.transports.services.daily import DailyParams, DailyTransport from pipecat.transports.services.daily import DailyParams, DailyTransport
from pipecat.vad.silero import SileroVADAnalyzer from pipecat.vad.silero import SileroVADAnalyzer
from pipecat.processors.logger import FrameLogger
from runner import configure from runner import configure
@@ -33,7 +31,6 @@ logger.add(sys.stderr, level="DEBUG")
async def main(room_url: str, token): async def main(room_url: str, token):
async with aiohttp.ClientSession() as session:
transport = DailyTransport( transport = DailyTransport(
room_url, room_url,
token, token,

View File

@@ -5,7 +5,6 @@
# #
import asyncio import asyncio
import aiohttp
import os import os
import sys import sys
@@ -32,7 +31,6 @@ logger.add(sys.stderr, level="DEBUG")
async def main(room_url: str, token): async def main(room_url: str, token):
async with aiohttp.ClientSession() as session:
transport = DailyTransport( transport = DailyTransport(
room_url, room_url,
token, token,