You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Is it possible to record and upload the transcriptions from _transcribe_streaming.py? #606
Can you file a different issue for the "Exiting.." problem?
As for the other two of your questions, keep in mind that this repo is a repo of sample code. You should feel free to modify it to add the functionality you'd like - the existing code is there mainly for illustration and education. For example
You could potentially create a Timer object that communicates with the main thread to restart the operation after 60 seconds. Granted - there are some tricky issues to deal with here, so I've got it on my todo list to write a sample that does this (as I mentioned here)
Instead of just printing the response, you could open a file object and write the responses to that file. Or you could upload it to cloud storage, modifying the code snippet here to use upload_from_string, once the audio has ended.
Lets say transcribe_streaming.py transcribes the spoken sentence “ I am dreaming about pears “ with 90.00 confidence. The word pear is listed in an array and triggers the transcribe_streaming.py to run another program which again starts a 10 seconds short video clip about falling pears from trees in slow motion. Could this be accomplished with the sample as well, when modified?
Activity
jerjou commentedon Oct 21, 2016
upload_from_string, once the audio has ended.thetittenquetscher commentedon Oct 22, 2016
Thank you for your input @jerjou .
Lets say transcribe_streaming.py transcribes the spoken sentence “ I am dreaming about pears “ with 90.00 confidence. The word pear is listed in an array and triggers the transcribe_streaming.py to run another program which again starts a 10 seconds short video clip about falling pears from trees in slow motion. Could this be accomplished with the sample as well, when modified?
jerjou commentedon Oct 24, 2016
Yup!
chore(deps): update dependency google-cloud-dialogflow to v2.18.0 (#606)
chore(deps): update dependency google-cloud-dialogflow to v2.18.0 (#606)
chore(deps): update dependency google-cloud-dialogflow to v2.18.0 (#606)
chore(deps): update dependency google-cloud-bigquery to v3.11.2 (#606)