Commit 87664ef3 by ‘chizw’

[+]进程优化

1 parent 89d396dd
Showing 1 changed file with 1 additions and 1 deletions
...@@ -282,9 +282,9 @@ def consumer_process_error_callback(err): ...@@ -282,9 +282,9 @@ def consumer_process_error_callback(err):
if __name__ == "__main__": if __name__ == "__main__":
log.info("funasr main starting...") log.info("funasr main starting...")
start_process_kafka()
funasr_producer.send_wait_task() funasr_producer.send_wait_task()
ap_scheduler_util.scheduler_start() ap_scheduler_util.scheduler_start()
start_process_kafka()
save_path = "audios/" save_path = "audios/"
if os.path.exists(save_path): if os.path.exists(save_path):
shutil.rmtree(save_path) shutil.rmtree(save_path)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!