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 os | |
import time | |
import requests | |
from io import BytesIO | |
from PIL import Image | |
from dotenv import load_dotenv | |
from openai import OpenAI | |
# Load API key from .env file | |
load_dotenv() |
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 os | |
import time | |
from dotenv import load_dotenv | |
from openai import OpenAI | |
import requests | |
from PIL import Image | |
from io import BytesIO | |
# Load API key from .env file | |
load_dotenv() |
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 os | |
import base64 | |
import requests | |
from dotenv import load_dotenv | |
from openai import OpenAI | |
# Load API key from .env file | |
load_dotenv() | |
API_KEY = os.getenv("OPENAI_API_KEY") |
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 openai import OpenAI | |
import os | |
from dotenv import load_dotenv | |
# Load API key from .env file | |
load_dotenv() | |
API_KEY = os.getenv("OPENAI_API_KEY") | |
# Initialize the OpenAI client | |
client = OpenAI(api_key=API_KEY) |
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 os | |
from dotenv import load_dotenv | |
from openai import OpenAI | |
# Load API key from .env file | |
load_dotenv() | |
API_KEY = os.getenv("OPENAI_API_KEY") | |
# Initialize the OpenAI client | |
client = OpenAI(api_key=API_KEY) |
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 openai import OpenAI | |
import os | |
from dotenv import load_dotenv | |
# Load API key from.env file | |
load_dotenv() | |
API_KEY = os.getenv("OPENAI_API_KEY") | |
# Initialize the OpenAI client | |
client = OpenAI(api_key=API_KEY) |
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 json | |
import datetime | |
import os | |
import pygame | |
from typing import Dict, Any, Tuple | |
from dotenv import load_dotenv | |
from openai import OpenAI | |
# Load API key from .env file | |
load_dotenv() |
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 os | |
import time | |
import json | |
from dotenv import load_dotenv | |
import requests | |
from PIL import Image | |
from io import BytesIO | |
import pygame | |
import speech_recognition as sr | |
from openai import OpenAI |
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 os | |
import time | |
import json | |
from dotenv import load_dotenv | |
import requests | |
from PIL import Image | |
from io import BytesIO | |
import pygame | |
from openai import OpenAI |
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 os | |
import time | |
import requests | |
from io import BytesIO | |
from PIL import Image | |
from dotenv import load_dotenv | |
from openai import OpenAI | |
# Load API key from .env file | |
load_dotenv() |
NewerOlder