Ver Fonte

Fixing mic example

Javier Jorge Cano há 3 anos atrás
pai
commit
a2fccd170f
1 ficheiros alterados com 1 adições e 1 exclusões
  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")