Spaces:
Build error
Build error
phrase_time_limit
Browse files- client/src/main.py +1 -1
client/src/main.py
CHANGED
@@ -32,7 +32,7 @@ def main():
|
|
32 |
data = audio.get_raw_data()
|
33 |
data_queue.put(data)
|
34 |
|
35 |
-
speech_recognizer.listen_in_background(source=microphone, callback=record_callback)
|
36 |
|
37 |
print("\n🎤 Microphone is now listening...\n")
|
38 |
|
|
|
32 |
data = audio.get_raw_data()
|
33 |
data_queue.put(data)
|
34 |
|
35 |
+
speech_recognizer.listen_in_background(source=microphone, callback=record_callback, phrase_time_limit=recording_duration)
|
36 |
|
37 |
print("\n🎤 Microphone is now listening...\n")
|
38 |
|