diff --git a/.github/workflows/lint_python.yml b/.github/workflows/lint_python.yml index d850a6f..3fd89e7 100644 --- a/.github/workflows/lint_python.yml +++ b/.github/workflows/lint_python.yml @@ -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 diff --git a/Jarvis2.py b/Jarvis2.py index 657ed84..a79865d 100755 --- a/Jarvis2.py +++ b/Jarvis2.py @@ -15,9 +15,9 @@ 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)