Skip to content

Instantly share code, notes, and snippets.

View gigq's full-sized avatar

Justin Sanders gigq

View GitHub Profile
@gigq
gigq / jarvis.py
Created December 4, 2022 06:10
OpenAI's ChatGPT + Whisper speech recognition + MacOS say
import speech_recognition as sr
"""Make some requests to OpenAI's chatbot"""
import time
import os
from playwright.sync_api import sync_playwright
PLAY = sync_playwright().start()
BROWSER = PLAY.chromium.launch_persistent_context(