Skip to content

Commit

Permalink
⚡ Updating speech engine
Browse files Browse the repository at this point in the history
  • Loading branch information
Achraf KHAZRI authored and Achraf KHAZRI committed Oct 3, 2019
1 parent f8a4bd7 commit a8a31dc
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions speech_api/speech_engine.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import pyttsx3
import speech_recognition as sr


class SpeechEngine:

def __init__(self, lang):
Expand Down Expand Up @@ -38,7 +39,3 @@ def speech2text(self):
print("text : " + r.recognize_google(audio));
except:
pass;


se = SpeechEngine("en")
se.speech2text()

0 comments on commit a8a31dc

Please sign in to comment.