Javier Jorge Cano преди 3 години
родител
ревизия
a2fccd170f
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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")