datawhalechina/self-llm

[解决方案]Qwen-7B-Chat FastApi 部署调用

YuGuilliman opened this issue · 0 comments

出现:RuntimeError: asyncio.run() cannot be called from a running event loop的报错
解决:
import nest_asyncio
nest_asyncio.apply()