Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #1

Open
wants to merge 3 commits into
base: 0.5
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,3 @@
A Virtual Voice Assistant

The aim of this project is to Virtual Assistant available for more people.


21 changes: 21 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,27 @@
from vosk import Model, KaldiRecognizer
import os
import pyaudio
<<<<<<< Updated upstream
=======
import json
import pyttsx3
# Import the core lib
from core import SystemInfo

# Import NLU classifier
from nlu.classifier import classify

# Speech Synthesis
engine = pyttsx3.init()

a = 2

def speak(text):
engine.say(text)
engine.runAndWait()

# Speech Recognition
>>>>>>> Stashed changes

model = Model("model")
rec = KaldiRecognizer(model, 16000)
Expand Down