Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit fbf4141

Browse filesBrowse files
committed
Fix a bug to correctly exit at the end of a single_utterance, if flag is set appropriately
1 parent f24b33d commit fbf4141
Copy full SHA for fbf4141

File tree

Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed

‎speech/api/speech_streaming.py

Copy file name to clipboardExpand all lines: speech/api/speech_streaming.py
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,8 @@ def main():
156156
# Stop the request stream once we're done with the loop - otherwise
157157
# it'll keep going in the thread that the grpc lib makes for it..
158158
stop_audio.set()
159+
print ('Exiting.')
160+
return
159161

160162

161163
if __name__ == '__main__':

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.