Do NOT use Streamlit for PRODUCTION until you watch this!

Поділитися
Вставка
  • Опубліковано 5 лип 2024
  • You might be thinking to consider getting your AI application to the next level and you want to run a business on top of it but you're not sure how to expose the model with your user?
    Please watch this video. I give 4 reasons why Streamlit is not a good choice for your applications especially if you intend to inter act with large population of users.
    Important things to consider:
    - Custom Styling and simply enabled CSS
    - Handling running sessions and multi threading capability (watch the video to learn more)
    - Community Support for Developers
    - Seamless integration with APIs and backend services
    Watch my series on learning about Langchain Chain types:
    • Learning Langchain Ser...
    - API CHAIN | • API Chain | Chain Type...
    - CONSTITUTIONAL CHAIN | • CONSTITUTIONAL CHAIN |...
    - RAG CHAIN | • RETRIEVAL CHAIN - RAG ...
    - CHECKER CHAIN | • LLM CHECKER CHAIN | Le...
    - ROUTER CHAIN | • ROUTER CHAIN | Learnin...
    - SEQUENTIAL CHAIN | • SEQUENTIAL CHAIN | Lea...
    Watch my video on building ChatGPT with local LLMs using Streamlit:
    • Easiest way to Build y...
    Link to Fanilo's video on Streamlit's limitations:
    • An Unfiltered Deep Div...
    Follow us on:
    UA-cam: / @fullstackai24
    Twitter: / fullstackinfoai
    LinkedIn: / fullstackaialta
    Join Discord: / discord
    #langchain #ai #llm #python #conversation #chain #chatgpt #chatbot #openai #education #coding #artificialintelligence #machinelearning #fullstack #backend #largelanguagemodels #nlp #naturallanguageprocessing #streamlit #production
    ------
    Chapters:
    0:00 What is Streamlit?
    1:04 Modern Web Apps
    1:48 Streamlit's limits for business facing apps
    2:42 1- Customized CSS Styling
    3:04 2- Handle Multiple Threading
    4:52 3- Small Size Community
    5:14 4- Lack of Seamless Integration with Backend
    5:39 Conclusion
  • Наука та технологія

КОМЕНТАРІ • 32

  • @aiberta
    @aiberta 29 днів тому +1

    Thank you for clarifying on pits and falls of Streamlit. I see that you're mentioning that it is still the framework of choice for Data Science applications. Very informative video!

    • @fullstackai24
      @fullstackai24  29 днів тому

      Yes! Indeed I have mentioned that in detail that for ML initiatives and DS, Streamlit is the first step!

  • @zendr0
    @zendr0 8 днів тому +1

    No one will use streamlit for prod. We know that. But Streamlit is the best tool to get started with MVP and get that initial funds by validating your ideas. No one will invest their time and effort on learning react and then building one with React without knowing if it is even worth spending your time on something that people doesn't even want.

    • @fullstackai24
      @fullstackai24  8 днів тому

      100% agree! You re-stated the points I made in the video. Thank you for sharing your valuable thoughts :)

  • @felicia6242
    @felicia6242 Місяць тому +1

    is there a way to combine the two? using streamlit and javascript combo backend and react frontend?

    • @fullstackai24
      @fullstackai24  Місяць тому

      There is. Only if you are expert in JS and set up a separate component that is running in the DOM and the streamlit can be streamed inside the JS component. You can use tags to include a Streamlit app inside JS. However, the use cases could be very minimal.

  • @re-nz3sk
    @re-nz3sk Місяць тому +4

    great video

  • @user-ty2gg8vv6m
    @user-ty2gg8vv6m Місяць тому +1

    No recommendation of some other framework as a replacement?

    • @fullstackai24
      @fullstackai24  Місяць тому

      Do you mean framework with python or in general for UI?

  • @tompower4008
    @tompower4008 28 днів тому

    Great video! Kudos!

  • @PratikSinghFilms
    @PratikSinghFilms 7 днів тому

    i am working on a saas app like ai girlfriend stuff should i use streamlit to get first 100 users and then change the framework to flask,faastapi or django or should i use this framework from start ?

    • @fullstackai24
      @fullstackai24  13 годин тому

      That is a great start! Depends on the complexity of your app and I suggest if you have the necessary skills to run with Streamlit to get it going, then it should be good and as you take off then you can think about improving in the next version of the app.

  • @awonglk
    @awonglk 14 днів тому +2

    Gradio probably falls in the same category

    • @fullstackai24
      @fullstackai24  14 днів тому

      Gradio is well suited for most LLM applications and yes it is for proof of concept purposes.

  • @nthmost
    @nthmost День тому

    Your points are valid but I wish you'd compare apples to oranges. Streamlit is a front and back-end in one, so comparing it to React over and over again isn't particularly useful. Streamlit even uses React on its front-end. Streamlit would be more usefully compared to things like Dash and Solara.

    • @fullstackai24
      @fullstackai24  13 годин тому

      Thank you for bringing your insights. Really appreciate it!
      I am not quite sure when you say "Streamlit is a front and back-end in one". This is practically not true. Yes, Streamlit is a framework built on Python and yes integration with backend apps developed in Python (Flask, FastAPI, etc.) is seamless. Though, this is still a framework to make UI integrations.
      In any case, you made a good point of having a comparison of Python UI Frameworks. Which is an interesting idea!