Teasing Streamlit’s Next Biggest Changes

Поделиться
HTML-код
  • Опубликовано: 28 сен 2024

Комментарии • 41

  • @comfixit
    @comfixit 6 месяцев назад

    A great job presenting the new features. You are the best of the yourtube coder bros. A+. Would have been an A++ if you had included a drinking tea reference. I miss those.
    Excellent work.

    • @andfanilo
      @andfanilo  6 месяцев назад +1

      Taking note for the next one 😂 thanks for the support, see you on the next one!

  • @ici6308
    @ici6308 13 дней назад

    Wow, Streamlit has a future, with these different innovations, Streamlit will be the best Python interface for data representation and data history telling. You guy is among the best contributor.

    • @andfanilo
      @andfanilo  7 дней назад

      Thanks for the support, very grateful. See you on the next video!

  • @apiladhikari1557
    @apiladhikari1557 5 месяцев назад

    bad 'setin' index #(should be between [#,#]) I've been facing this issue in my code for a long time now, even the github issue for it is marked as closed without properly solving it, how do you think i can tackle this?

  • @picklenickil
    @picklenickil 3 месяца назад

    How do i manage the chat history of each chatbot? If one chatbot received a message from an llm and we use session state to store it? Wont it cause rerender of the whole thing? How do i integrate sessios state -chat history- multiple chatbot - experimental fragments into an app. So its like having separate responsibe chatbot interfaces on the same screen and update to one chat history doesn't cause rerender of anything else on screen including other chatbots

  • @pedrotiagobh
    @pedrotiagobh 4 месяца назад

    Hi, I had this error below while I was trying to create the .exe file from my streamlit code:
    Error: The entrypoint file "app.py" is not included in the bundled files.
    Can someone help me?

    • @andfanilo
      @andfanilo  4 месяца назад

      I haven't tried stlite in a while but from github.com/whitphx/stlite/tree/main/packages/desktop there are some new configurations options to add to point to the entrypoiny..
      But the honest best way would be to head to github.com/whitphx/stlite/issues if it still doesn't work, the author is very helpful there!

  • @CarlosEMijaresR
    @CarlosEMijaresR 5 месяцев назад

    My problem is that I already have my app deployed in Streamlit, and the terminal command to hide the menu works perfectly for me, but how do I make it work the same with my app deployed on the platform directly?

    • @andfanilo
      @andfanilo  5 месяцев назад +1

      docs.streamlit.io/develop/concepts/configuration/options
      You can add the configuration option by pushing a `.streamlit/config.toml` file at the root of your project, it should take the following form:
      ```
      [client]
      showSidebarNavigation = false
      ```
      or pass those as environment variables `STREAMLIT_CLIENT_SHOW_SIDEBAR_NAVIGATION=false` from the configuration menu of your deployment

  • @Sonntagssoziologe
    @Sonntagssoziologe 5 месяцев назад

    I like your chanel so much.

    • @andfanilo
      @andfanilo  5 месяцев назад

      Happy to hear that! Stay tuned for the next one :)

  • @michael-jones
    @michael-jones 5 месяцев назад

    Thank you for your content. I saw a click “to accept cookies” button. Do you have a video on cookies and persistent sessions?

    • @andfanilo
      @andfanilo  5 месяцев назад +1

      Hey! I don't know why Chrome dislpayed that "add cookies" because I wasn't passing any cookies in the demo. Just Google reacting the random text_inputs...
      I don't have a video on cookies/persistent sessions, but there are multiple Streamlit components to manage cookies though, the moset popular I think being github.com/Mohamed-512/Extra-Streamlit-Components
      Otherwise it would be better to configure that at the load balancer level, NGINX or other; as you don't have access to Streamlit's underlying Tornado server to configure this.

  • @thamerrro4234
    @thamerrro4234 6 месяцев назад +1

    Too late, I'm halfway done switching my app to react...

    • @thamerrro4234
      @thamerrro4234 6 месяцев назад

      still, I'll mostly likely use streamlit again, for upcoming projects.

    • @andfanilo
      @andfanilo  6 месяцев назад

      Ahah can't blame you if you found a good JS workflow 😊 any React framework to recommend for people who want to switch?

    • @pmshadow
      @pmshadow 5 месяцев назад

      @@andfanilo I am bulding an internal application at my hedge fund, Nextjs for the "Software part" and Streamlit is our data playground.
      What do you think of this combination?

    • @andfanilo
      @andfanilo  5 месяцев назад

      Sounds nice, I like it 😊 if you have a good Next.js theme to recommend and a JS interactive charting library, please share!

    • @thamerrro4234
      @thamerrro4234 5 месяцев назад

      ​ @andfanilo
      I'm no react expert, I just started react
      I'll share what I use
      Next.js + React as my "frontend"
      And I use FastAPI as a python backend.
      I have some (AI components) I used" vercel/ai js package" for two days then I decided not to use It and switched to fetch for streaming texts(from my python backend). it works very well.
      I also use Mantine as a component library it is very nice, easy to use and has no "Pro" components that I know of.
      For state management I use createContext and useContext they work very well, almost like st.session
      I have a folder called /context, in it there are two files (contexts.tsx + types.ts) I then I pass the context to layout.tsx so I could use the contexts from anywhere. just like st.session.
      Once I got everything going, took like a week or two (note I'm starting fresh in react) I think I did quite good (thanks to copilot)

  • @nicapotato7745
    @nicapotato7745 6 месяцев назад

    Thanks for sharing the deeper details, I'm a data coder getting my mind blown here haha

    • @andfanilo
      @andfanilo  6 месяцев назад

      Eheh thanks for watching! Any feature you’re looking forward to trying ??

  • @salvatorepascarella8368
    @salvatorepascarella8368 6 месяцев назад

    Hi I really enjoy your videos and the way you explain it. I was wondering if you could bring a video about any way to filter a data_editor in Streamlit or if there’s a workaround about it. Thanks and keep going!

    • @andfanilo
      @andfanilo  6 месяцев назад

      Hello, thanks for the kind words :)
      I'm not totally sure I understood the filter part, do you mean widgets external to data_editor that filter it? Or filters integrated in the column for example like in Excel? Or a feature that Mitosheet/Aggrid provide that data_editor doesn't?

    • @salvatorepascarella8368
      @salvatorepascarella8368 6 месяцев назад

      @@andfanilo Sorry for not being clear, I was talking about some filters Excel-like, where you can filter the columns you want.

  • @rodrigobogado653
    @rodrigobogado653 6 месяцев назад

    oh very good tips,

    • @andfanilo
      @andfanilo  5 месяцев назад

      Glad you like them! Hope to see you on the next one :)

  • @rockNbrain
    @rockNbrain 6 месяцев назад

    Great video Fanilo

    • @andfanilo
      @andfanilo  6 месяцев назад +2

      Thanks for watching and for the support 🙂 looking forward to those features finally releasing

  • @RyanDoozer
    @RyanDoozer 6 месяцев назад

    hype!