python startup.py -a 之后,出现报错 #2844
Replies: 4 comments
-
🤖 您好,@AndersonHuangEDU!我是Dosu,一个可以帮助您解决问题、回答疑问并成为贡献者的机器人。我在这里,等待真人维护者的同时,帮助您解决问题。我正在查看您的问题,稍后会给您一个完整的答复。 |
Beta Was this translation helpful? Give feedback.
-
🤖 您好,@AndersonHuangEDU!我是Dosu,一个可以帮助您解决问题、回答疑问并成为贡献者的机器人。我在这里,等待真人维护者的同时,帮助您解决问题。我正在查看您的问题,稍后会给您一个完整的答复。 |
Beta Was this translation helpful? Give feedback.
-
🤖 您好,@AndersonHuangEDU!我是Dosu,一个可以帮助您解决问题、回答疑问并成为贡献者的机器人。我在这里,等待真人维护者的同时,帮助您解决问题。我正在查看您的问题,稍后会给您一个完整的答复。 |
Beta Was this translation helpful? Give feedback.
-
🤖 你好,@AndersonHuangEDU!很高兴再次看到你在这里。我们一起解决过的问题记忆犹新,希望你一切都好! 您的错误提示显示在尝试迭代一个None对象时出现了问题。在您的问题上下文中,这个错误可能是因为在
您可以尝试以下解决方案:
running_models = api.list_running_models()
if running_models is None:
running_models = []
else:
running_models = list(running_models) 希望这些信息能帮助您解决问题。如果您还有其他问题,或者需要更多的帮助,请随时向我提问。 SourcesThis response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research. Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant. If you want to continue the conversation, start your reply with @dosu-bot. |
Beta Was this translation helpful? Give feedback.
-
TypeError: 'NoneType' object is not iterable
Traceback:
File "H:\Programdata\anaconda3\envs\chatchat\Lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 534, in _run_script
exec(code, module.dict)
File "C:\Users\17769\PycharmProjects\Langchain-Chatchat\webui.py", line 64, in
pages[selected_page]["func"](api=api, is_lite=is_lite)
File "C:\Users\17769\PycharmProjects\Langchain-Chatchat\webui_pages\dialogue\dialogue.py", line 165, in dialogue_page
running_models = list(api.list_running_models())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Beta Was this translation helpful? Give feedback.
All reactions