Skip to content
/ GinAI Public

Real cocktail creation with generative AI and Raspberry Pi

Notifications You must be signed in to change notification settings

saubury/GinAI

Repository files navigation

🍹🤖🍸 GinAI - Cocktails mixed with generative AI

GinAI - Cocktails mixed with generative AI. Trusting my robotic bartender can make a nice drink from my random collection of juices, mixers and spirits. Real cocktails created and music chosen by OpenAI supported by a RaspberryPi.

Blog

A full writeup blog is here 🍹GinAI - Cocktails mixed with generative AI

Video

A quick video

video

Setup virtual python environment

Create a virtual python environment to keep dependencies separate. The venv module is the preferred way to create and manage virtual environments.

python3 -m venv .venv

Before you can start installing or using packages in your virtual environment you’ll need to activate it.

source .venv/bin/activate
pip install --upgrade pip
pip install -r requirements.txt

Running GinAI

To run GinAI

python ginai.py --creative

Links

Fixes and adhoc notes

Fixes : NotOpenSSLWarning: urllib3

To resolve NotOpenSSLWarning: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module try this

pip uninstall urllib3
pip install 'urllib3<2.0'

Fixes : GoogleAssistant AttributeError

AttributeError: 'GoogleAssistant' object has no attribute 'cc'

pip install PyChromecast==1.0.3

Fixes : Downgrade the protobuf package to 3.20.x or lower.

pip install protobuf==3.20.1

Fixes : RGB not working on RaspberryPi

  • Set dtparam=audio=off in /boot/config.txt
  • Will need to run as root

About

Real cocktail creation with generative AI and Raspberry Pi

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages