Visual/log changes
This commit is contained in:
parent
b087871471
commit
92a6046869
2 changed files with 4 additions and 3 deletions
|
@ -94,10 +94,10 @@ class GoogleVoiceClient(object):
|
||||||
|
|
||||||
while not self.toBeShutdown:
|
while not self.toBeShutdown:
|
||||||
try:
|
try:
|
||||||
self.logger.info("wait for Google Voice")
|
self.logger.log(LOG_BS,"wait for Google Voice")
|
||||||
if not self.isRunning.wait(timeout=1):
|
if not self.isRunning.wait(timeout=1):
|
||||||
continue # re-ceck toBeShutdown
|
continue # re-ceck toBeShutdown
|
||||||
self.logger.info("Starting Google Voice")
|
self.logger.debug("Starting Google Voice")
|
||||||
|
|
||||||
|
|
||||||
audio_generator = self.generator()
|
audio_generator = self.generator()
|
||||||
|
@ -106,7 +106,7 @@ class GoogleVoiceClient(object):
|
||||||
responses = self.speech_client.streaming_recognize(
|
responses = self.speech_client.streaming_recognize(
|
||||||
self.streaming_config, requests)
|
self.streaming_config, requests)
|
||||||
|
|
||||||
self.logger.info("Starting voice loop")
|
self.logger.debug("Starting voice loop")
|
||||||
for response in responses:
|
for response in responses:
|
||||||
if not response.results:
|
if not response.results:
|
||||||
self.logger.debug('...')
|
self.logger.debug('...')
|
||||||
|
|
|
@ -41,6 +41,7 @@
|
||||||
|
|
||||||
.vis-grid, .vis-foreground .vis-group{
|
.vis-grid, .vis-foreground .vis-group{
|
||||||
border-color:#666 !important;
|
border-color:#666 !important;
|
||||||
|
font-size: 4.5pt;
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|
Loading…
Reference in a new issue