mirror of
http://git.xinwangdao.com/cnnc-embedded-parts-detect/detect-gui.git
synced 2025-06-24 05:04:12 +08:00
1、update
This commit is contained in:
parent
fb543a3b0d
commit
52d0f7f1ae
@ -270,7 +270,6 @@ class EdgeContext(LoggingMixin):
|
||||
# 启动 FastAPI 服务器
|
||||
tasks.append(self.loop.create_task(self.server.serve()))
|
||||
self.logger.info('edge context start!')
|
||||
self.loop.run_until_complete(asyncio.gather(*tasks))
|
||||
# 保持事件循环的持续运行
|
||||
self.loop.run_forever()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user