This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import asyncio | |
from openai import AsyncOpenAI | |
from openai.helpers import LocalAudioPlayer | |
import wave | |
import numpy as np | |
openai = AsyncOpenAI() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Copyright (c) 2024–2025, Daily | |
# | |
# SPDX-License-Identifier: BSD 2-Clause License | |
# | |
import argparse | |
import asyncio | |
import os |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Copyright (c) 2024–2025, Daily | |
# | |
# SPDX-License-Identifier: BSD 2-Clause License | |
# | |
import argparse | |
import asyncio | |
import os |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# double transcription events | |
# pip install 'pipecat-ai[daily,silero,openai,cartesia]'==0.0.59 dotenv | |
# | |
# transcription events as expected | |
# pip install 'pipecat-ai[daily,silero,openai,cartesia]'==0.0.58 dotenv | |
import asyncio | |
import sys | |
import os |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from google import genai | |
import os | |
client = genai.Client(api_key=os.getenv("GOOGLE_API_KEY")) | |
# filename_for_upload = "/Users/khkramer/Downloads/maven-lightning-trimmed.mp4" | |
# myfile = client.files.upload(file=filename_for_upload) | |
# | |
# print("My files:") |
OlderNewer