🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    No M5Stack Controller required - A Native web UI for the M5Stack's LLM Module Kit

    PROJECTS
    2
    3
    121
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      andyyuen
      last edited by

      In my previous project (A Web UI for the LLM Module Kit Voice Assistant), I showed you how to add a web user interface to interact with a LLM model using Arduino on a M5Stack core controller stacked on top of the LLM Module Kit.

      This time I am showing you how to build a web UI running natively on the LLM Module Kit without a M5Stack controller. In other words, you can do it just using the LLM Module Kit alone. And it will have the same web UI which you saw in my previous project.

      The programming environment I use this time is not Arduino. I am using Python3 and its flask and flask-sock modules. The web UI looks exactly the same as before with minor enhancements: the 'clear' and 'submit' buttons are now disabled when you click on 'submit' and re-eanabled when the LLM completes its response.

      To access the webui, just point your browser to: http://llmModuleKitIPAddress:8080
      Of course you have to run the webui.py first.

      webui

      Source code and instructions can be found in my Github repository.

      Enjoy!

      U 1 Reply Last reply Reply Quote 2
      • U
        ulver @andyyuen
        last edited by

        @andyyuen nice job! It's very useful as a template for a more advanced project. Thank you!

        A 1 Reply Last reply Reply Quote 0
        • A
          andyyuen @ulver
          last edited by

          @ulver Thanks for your kind comment. Yes, I hope my work will generate more interest on the LLM Module Kit. Looking forward to seeing announcements of advanced projects on the LLM Module Kit here soon.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post