开发者社区 > ModelScope模型即服务 > 正文

第一次用ModelScope创空间,创建后发布失败,这个问题该如何修复?

" 第一次用ModelScope创空间,创建后发布失败,这个问题该如何修复? lQLPJxXv-nGinTNXzQQgsNUYj0tG-fMJBponcLQfhAA_1056_87.png
失败日志 [2024-08-05 16:30:25] 2024-08-05 16:30:25,525 - modelscope - INFO - Loading ast index from /mnt/workspace/.cache/modelscope/ast_indexer
[2024-08-05 16:30:26] Traceback (most recent call last):
[2024-08-05 16:30:26] File ""app.py"", line 13, in
[2024-08-05 16:30:26] from user_core import init_user_chatbot_agent
[2024-08-05 16:30:26] File ""/home/studio_service/PROJECT/user_core.py"", line 7, in
[2024-08-05 16:30:26] from modelscope_agent.agents.role_play import RolePlay
[2024-08-05 16:30:26] File ""/opt/conda/lib/python3.8/site-packages/modelscope_agent/agents/init.py"", line 3, in
[2024-08-05 16:30:26] from .multi_role_play import MultiRolePlay
[2024-08-05 16:30:26] File ""/opt/conda/lib/python3.8/site-packages/modelscope_agent/agents/multi_role_play.py"", line 6, in
[2024-08-05 16:30:26] from modelscope_agent.agent_env_util import AgentEnvMixin
[2024-08-05 16:30:26] File ""/opt/conda/lib/python3.8/site-packages/modelscope_agent/agent_env_util.py"", line 6, in
[2024-08-05 16:30:26] from modelscope_agent.environment import Environment
[2024-08-05 16:30:26] File ""/opt/conda/lib/python3.8/site-packages/modelscope_agent/environment.py"", line 9, in
[2024-08-05 16:30:26] class Environment:
[2024-08-05 16:30:26] File ""/opt/conda/lib/python3.8/site-packages/modelscope_agent/environment.py"", line 14, in Environment
[2024-08-05 16:30:26] messages_list_map: dict[str, list] = {}
[2024-08-05 16:30:26] TypeError: 'type' object is not subscriptable
[2024-08-05 16:30:28] [2024-08-05 16:30:28,311][ERROR] project_working_process exit code 1
[2024-08-05 16:30:28] [2024-08-05 16:30:28,311][INFO] change status to FAILED "

展开
收起
小小爱吃香菜 2024-08-13 10:50:58 35 0
1 条回答
写回答
取消 提交回答
  • 同问,有答案了@我一下

    2024-08-14 16:27:25
    赞同 展开评论 打赏

ModelScope旨在打造下一代开源的模型即服务共享平台,为泛AI开发者提供灵活、易用、低成本的一站式模型服务产品,让模型应用更简单!欢迎加入技术交流群:微信公众号:魔搭ModelScope社区,钉钉群号:44837352

热门讨论

热门文章

相关电子书

更多
视觉AI能力的开放现状及ModelScope实战 立即下载
ModelScope助力语音AI模型创新与应用 立即下载
低代码开发师(初级)实战教程 立即下载