Giter VIP home page Giter VIP logo

Comments (6)

shivan avatar shivan commented on June 13, 2024 1

There's also a solution described in the migration guide:
https://docs.chainlit.io/guides/migration/1.0.500

from taskweaver.

mufenzhimi avatar mufenzhimi commented on June 13, 2024

same error here

from taskweaver.

ashiq-techie avatar ashiq-techie commented on June 13, 2024

@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.

from taskweaver.

liqul avatar liqul commented on June 13, 2024

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

from taskweaver.

uebhh avatar uebhh commented on June 13, 2024

@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.

from taskweaver.

uebhh avatar uebhh commented on June 13, 2024

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.

from taskweaver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.