Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ from gtts import gTTS
|
|
6 |
from audiorecorder import audiorecorder
|
7 |
import speech_recognition as sr
|
8 |
|
9 |
-
def recognize_speech(audio_data, show_messages=
|
10 |
recognizer = sr.Recognizer()
|
11 |
audio_recording = sr.AudioFile(audio_data)
|
12 |
|
|
|
6 |
from audiorecorder import audiorecorder
|
7 |
import speech_recognition as sr
|
8 |
|
9 |
+
def recognize_speech(audio_data, show_messages=False):
|
10 |
recognizer = sr.Recognizer()
|
11 |
audio_recording = sr.AudioFile(audio_data)
|
12 |
|