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 base64 | |
import os | |
from openai import OpenAI | |
import pyaudio | |
import wave | |
import weave | |
os.environ["WANDB_API_KEY"] = "" # Set your wandb API key here to track audio | |
client = OpenAI(api_key=os.environ.get("OPENAI_API_KEY")) |
OlderNewer