Merge pull request #35 from cclauss/patch-2
sudo apt-get install libespeak-dev portaudio19-dev
This commit is contained in:
commit
e4e9f51283
3
.github/workflows/lint_python.yml
vendored
3
.github/workflows/lint_python.yml
vendored
@ -14,7 +14,8 @@ jobs:
|
||||
- run: codespell --ignore-words-list=ans
|
||||
- run: flake8 . --count --max-complexity=19 --max-line-length=88 --show-source --statistics
|
||||
- run: isort --check-only --profile black .
|
||||
- run: pip install -r requirements.txt || pip install --editable . || true
|
||||
- run: sudo apt-get install libespeak-dev portaudio19-dev
|
||||
- run: pip install -r requirements.txt
|
||||
- run: mkdir --parents --verbose .mypy_cache
|
||||
- run: mypy --ignore-missing-imports --install-types --non-interactive .
|
||||
- run: pytest . || true
|
||||
|
||||
@ -15,9 +15,9 @@ import wikipedia
|
||||
import gui
|
||||
|
||||
print("Initializing Jarvis....")
|
||||
master = getpass.getuser()
|
||||
master = getpass.getuser() or "Harsha"
|
||||
|
||||
engine = pyttsx3.init("nsss")
|
||||
engine = pyttsx3.init()
|
||||
voices = engine.getProperty("voices")
|
||||
engine.setProperty("voice", voices[0].id)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user