Quellcode durchsuchen

Fixing mic example

Javier Jorge Cano vor 3 Jahren
Ursprung
Commit
a2fccd170f
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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")