Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing cloud speech code samples to work with v1beta1 #399

Merged
merged 4 commits into from
Jul 1, 2016
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixing test failure caused by float division
  • Loading branch information
Xinjie Zheng committed Jul 1, 2016
commit fae1686c3a8e26305dcf12e0895b39e4659fcb58
2 changes: 1 addition & 1 deletion speech/api/speech_streaming.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
# Audio recording parameters
RATE = 16000
CHANNELS = 1
CHUNK = RATE / 10 # 100ms
CHUNK = int(RATE / 10) # 100ms

# Keep the request alive for this many seconds
DEADLINE_SECS = 8 * 60 * 60
Expand Down