You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the pipeline contains Chinese, the pipeline cannot be loaded and an error is reported
async def on_startup(self):
# This function is called when the server is started.
print(f"on_startup:{name}")
print("--------------------------------")
print("不能含有中文")
print("--------------------------------")
pass
INFO: Started server process [35856]
INFO: Waiting for application startup.
Error loading module: wikipedia_pipeline
'gbk' codec can't decode byte 0xab in position 1138: illegal multibyte sequence
WARNING:root:No Pipeline class found in wikipedia_pipeline
INFO: Application startup complete.
INFO: Uvicorn running on http://0.0.0.0:9099 (Press CTRL+C to quit)
The text was updated successfully, but these errors were encountered:
When the pipeline contains Chinese, the pipeline cannot be loaded and an error is reported
async def on_startup(self):
# This function is called when the server is started.
print(f"on_startup:{name}")
print("--------------------------------")
print("不能含有中文")
print("--------------------------------")
pass
INFO: Started server process [35856]
INFO: Waiting for application startup.
Error loading module: wikipedia_pipeline
'gbk' codec can't decode byte 0xab in position 1138: illegal multibyte sequence
WARNING:root:No Pipeline class found in wikipedia_pipeline
INFO: Application startup complete.
INFO: Uvicorn running on http://0.0.0.0:9099 (Press CTRL+C to quit)
The text was updated successfully, but these errors were encountered: