Skip to content

Instantly share code, notes, and snippets.

View kotaroyamazaki's full-sized avatar
:octocat:

kotaro.yamazaki kotaroyamazaki

:octocat:
View GitHub Profile
import asyncio
import base64
import json
import os
import pyaudio
from websockets.asyncio.client import connect
class SimpleGeminiVoice:
def __init__(self):
package main
import (
"crypto/aes"
"crypto/cipher"
"crypto/rand"
"encoding/hex"
"fmt"
"io"
)