Teasing Streamlit’s Next Biggest Changes

Поділитися
Вставка
  • Опубліковано 2 жов 2024

КОМЕНТАРІ • 41

  • @ici6308
    @ici6308 16 днів тому

    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  11 днів тому

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

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

  • @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 6 місяців тому

    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 :)

  • @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!

  • @michael-jones
    @michael-jones 6 місяців тому

    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.

  • @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 ??

  • @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 6 місяців тому

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

  • @rodrigobogado653
    @rodrigobogado653 6 місяців тому

    oh very good tips,

    • @andfanilo
      @andfanilo  6 місяців тому

      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!