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 speech_recognition as sr | |
import pyttsx3 | |
import openai | |
openai.api_key = "Your API Key" | |
engine = pyttsx3.init() | |
voices = engine.getProperty('voices') | |
engine.setProperty('voices', voices[1].id) |
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
#!/bin/bash | |
# Download libgraph | |
wget http://download.savannah.gnu.org/releases/libgraph/libgraph-1.0.2.tar.gz | |
tar -xvzf libgraph-1.0.2.tar.gz | |
# Install dependencies | |
sudo apt install build-essential | |
sudo apt-get install libsdl-image1.2 libsdl-image1.2-dev guile-2.0 \ | |
guile-2.0-dev libsdl1.2debian libart-2.0-dev libaudiofile-dev \ |