Commit a193a788 by ‘chizw’

[+]参数优化

1 parent e9077fa1
...@@ -95,6 +95,7 @@ def deal_worker(task_id: str): ...@@ -95,6 +95,7 @@ def deal_worker(task_id: str):
exception_msg = sql_res[0]["exception_msg"] exception_msg = sql_res[0]["exception_msg"]
if exception_msg is not None or exception_msg == "list index out of range" \ if exception_msg is not None or exception_msg == "list index out of range" \
or exception_msg == "Unspecified internal error." \ or exception_msg == "Unspecified internal error." \
or str(exception_msg).startswith("HTTPSConnectionPool") \
or exception_msg == "local variable 'raw_text' referenced before assignment": or exception_msg == "local variable 'raw_text' referenced before assignment":
funasr_db.update_ali_asr_model_res_skip(task_id) funasr_db.update_ali_asr_model_res_skip(task_id)
return return
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!