TaskWeaver
TaskWeaver copied to clipboard
I get an error when I try to run the UI
Environment Information (please complete the following information):
- OS: [Windows]
- Python Version [3.11]
- LLM that you're using: [glm-4]
- Other Configurations except the LLM api/key related: [e.g., code_verification: true]
When I try to run the UI I get this error:
(taskweaver) D:\TaskWeaver\playground\UI>chainlit run app.py
Traceback (most recent call last):
File "
same error here
@uebhh Looks like the guys merged a bad PR request at Chainlit. In your .chainlit/config.toml comment out the following lines in [features] and you are good to go for now. This is me assuming your app does not require multi modal or speech to text capabilities in the Chainlit UI.
multi_modal = false
[features.speech_to_text]
enabled = false
I have mine like
# Authorize users to upload files with messages
# multi_modal = false
# Allows user to use speech to text
#[features.speech_to_text]
# enabled = false
# See all languages here https://github.com/JamesBrill/react-speech-recognition/blob/HEAD/docs/API.md#language-string
# language = "en-US"
Hope it helps for now.
It seems chainlit has a version upgrade and the configurations have changed and it is incompatible with the previous. The fix would be change the line
multi_modal = true
to
multi_model.enabled = true
Refer to https://docs.chainlit.io/backend/config/features
@uebhh Looks like the guys merged a bad PR request at Chainlit. In your .chainlit/config.toml comment out the following lines in [features] and you are good to go for now. This is me assuming your app does not require multi modal or speech to text capabilities in the Chainlit UI.
multi_modal = false [features.speech_to_text] enabled = false
I have mine like
# Authorize users to upload files with messages # multi_modal = false # Allows user to use speech to text #[features.speech_to_text] # enabled = false # See all languages here https://github.com/JamesBrill/react-speech-recognition/blob/HEAD/docs/API.md#language-string # language = "en-US"
Hope it helps for now.
Thank you, after the modification, it can be started.
It seems chainlit has a version upgrade and the configurations have changed and it is incompatible with the previous. The fix would be change the line
multi_modal = true
to
multi_model.enabled = true
Refer to https://docs.chainlit.io/backend/config/features
Thank you, it worked.
There's also a solution described in the migration guide: https://docs.chainlit.io/guides/migration/1.0.500