Skip to content

Commit 7af46a3

Browse files
committed
PEP8 Fix
1 parent b4f2516 commit 7af46a3

File tree

1 file changed

+1
-2
lines changed
  • Code-Sleep-Python/speech-to-text

1 file changed

+1
-2
lines changed

Code-Sleep-Python/speech-to-text/stt.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
#import string
21
import speech_recognition as sr
32

43
r = sr.Recognizer()
54

65
with sr.Microphone() as source:
76
print("Say something... ")
87
audio = r.listen(source)
9-
8+
109
try:
1110
print("Google thinks you said: {}".format(r.recognize_google(audio)))
1211
except sr.UnkownValueError:

0 commit comments

Comments
 (0)