瀏覽代碼

Fixing mic example

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")