Browse Source

Fixing mic example

Javier Jorge Cano 3 years ago
parent
commit
a2fccd170f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      python_examples/client.mic.py

+ 1 - 1
python_examples/client.mic.py

@@ -54,7 +54,7 @@ if es_system == {}:
     raise Exception("Spanish system not found") 
         
 #Selects the system with the system id for the Spanish system, updated in Feb20
-for resp in cli.transcribe(es_system, myStreamIterator):
+for resp in cli.transcribe(es_system['id'], myStreamIterator):
     # Hyp_var contains part of the hypothesis that is not consolidated yet (hypothesis could change)
     if resp["hyp_var"] != "":
         print("VAR")