How to create a Streamlit Multi-Page Web App

  Рет қаралды 170,873

Coding Is Fun

Coding Is Fun

Күн бұрын

Пікірлер: 233
@nthmost
@nthmost Жыл бұрын
As a Streamlit engineer i can tell you, that was one of the most over-discussed and hotly contested features on the roadmap 😂. Glad to see it finally in use. Good job on the explainer, this is really good.
@CodingIsFun
@CodingIsFun Жыл бұрын
Hey there Naomi! Thank you so much for watching my video and leaving a comment! It's really cool that a Streamlit engineer like you took the time to watch it. The multipage app feature is definitely one of my favorites. It's been a really helpful tool for me at work, and I'm sure it will continue to be in the future. Thanks for all the hard work you and the rest of the Streamlit team put in - it's definitely appreciated!
@balintgaspar8442
@balintgaspar8442 Жыл бұрын
Sorry I'm new here, what do you mean by streamlit engineer? Are you an engineer at streamlit or is it like saying "I'm a javascript engineer"?
@nthmost
@nthmost Жыл бұрын
@@balintgaspar8442 Oh, i worked on the Streamlit code as an engineer (at Streamlit) until 2021.
@MyBinaryLife
@MyBinaryLife Жыл бұрын
that user name 🤌
@CodingIsFun
@CodingIsFun 2 жыл бұрын
I hope you liked this short video on the new Streamlit multi-page feature. *Happy Streamlit-ing!* 🎉
@TK-pe7sf
@TK-pe7sf 2 жыл бұрын
Looks awesome, thank you for the video! I think I am going to use this for a new project. 🤔 Also I cannot stress enough how useful such short demo videos are to me. It's great to understand in 5 minutes what exactly a project can do and how you use it -- much better than 45 minute presentations of 5284 different features!
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Thanks for watching, and happy to hear that you like the short and sweet videos. Good luck with your new project. Happy Coding! 🚀
@techierepublique9301
@techierepublique9301 Жыл бұрын
😀😀 5284 features ... !!!
@Avra_b
@Avra_b 2 жыл бұрын
Hey , it’s so nice to see your videos - was binge watching them . Congratulations on your amazing video quality production and ofcourse the content . 🎉
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Hey Avratanu! Thanks for stopping by. Happy to hear that you are enjoying the videos! Your videos are also impressive. Keep up the great work. Happy Streamlit-ing! 🎉
@arunasrancevas6095
@arunasrancevas6095 2 жыл бұрын
Nice to see this channel picking up the pace.
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Thanks for watching the videos :)
@TamNguyen-cy3ix
@TamNguyen-cy3ix 4 ай бұрын
Thank you so much!!!!!!!!! This saved me tons of time as people use different ways of navigation. But this one is much better.
@CodingIsFun
@CodingIsFun 4 ай бұрын
An absolute pleasure, very happy to hear that you found it useful! Cheers, Sven ✌️
@Black_Hawk007
@Black_Hawk007 Жыл бұрын
Thank you very much, Sir. You are the best Python tutor in the world. I am not that good at writing and understanding complicated English, but I can easily understand Your English.🙌🙌 And your python Videos like building websites are Super👌👌👌
@CodingIsFun
@CodingIsFun Жыл бұрын
Loved reading your comment! Thanks for the kind words! ❤️
@CAPTRENDS1
@CAPTRENDS1 26 күн бұрын
love your Work, keep it up 💟
@CodingIsFun
@CodingIsFun 24 күн бұрын
Thank you so much! -Sven ✌️
@bleuthner
@bleuthner 4 ай бұрын
Thx for sharing! Because I'm a newbee: How do you get the emoji into your Py-Code? Which library is needed?
@CodingIsFun
@CodingIsFun 4 ай бұрын
Thanks for watching. On Windows press "Win" + "." to open the emoji picker. Cheers, Sven ✌
@bleuthner
@bleuthner 4 ай бұрын
@@CodingIsFun : Wow! That was fast !
@kaoh1778
@kaoh1778 2 жыл бұрын
Missed being the first one to see your video. Maybe next time!!!
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Anyways, thanks for watching the video & your comment. 👍
@jesusadraz
@jesusadraz Жыл бұрын
Cool! I could add pages to my web app. Thank you man!
@CodingIsFun
@CodingIsFun Жыл бұрын
Happy to hear that it helped you! Thanks for watching and taking the time to leave a comment! 👍
@cloudagnostic
@cloudagnostic Жыл бұрын
Wow this was a good entry tutorial. I’m going to get my hands dirty with this library.
@CodingIsFun
@CodingIsFun Жыл бұрын
Thanks for the positive feedback! Appreciate you taking the time to leave a comment. Happy Streamlit-ing!
@viniwata
@viniwata 5 ай бұрын
Thank you! This is one of the best videos on the subject. Can someone help me with an issue? When I'm on page 'X' in the menu, the background color changes to a darker shade, and the text turns solid black. However, on the other pages, the text appears in a lighter black, almost as if there's a transparency effect. How can I make all the text in the menu solid black? Thanks!
@CodingIsFun
@CodingIsFun 5 ай бұрын
Thanks for watching. Sorry, I haven't heard about this issue before. You might want to try your luck and ask your question in the Streamlit community forum. Cheers, Sven ✌️
@ndmad
@ndmad 2 жыл бұрын
Thanks you. Good job. We want more. Thank
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Glad you liked it. Thanks for watching. More to come! 🚀
@ndmad
@ndmad 2 жыл бұрын
@@CodingIsFun thank you a lot
@Diogene-pl1lq
@Diogene-pl1lq Жыл бұрын
Really amazing tutorial . Thanks alot. You are really helpfull for beginner like me.
@CodingIsFun
@CodingIsFun Жыл бұрын
Happy to hear that it was useful; thank you for taking the time to leave a comment and for watching the video!
@anirudhvinod3966
@anirudhvinod3966 9 ай бұрын
Thanks a lot! This was very useful!
@CodingIsFun
@CodingIsFun 9 ай бұрын
Happy to hear that it was useful; thank you for taking the time to leave a comment and for watching the video! Cheers, Sven ✌️
@manikantachinnipilli6502
@manikantachinnipilli6502 10 ай бұрын
If you click the projects tab,the homepage tab will not work or disable,when the process is running in projects tab
@Fimaniac
@Fimaniac Жыл бұрын
Dear Sven, I like your short and really informative Python tutorials. You ask for new topics: Such a topic (actually related to pages) could be the new tabs function introduced in streamlit 1.1. ❤ Finn
@CodingIsFun
@CodingIsFun Жыл бұрын
Hey Finn. Happy to hear that you like the videos and also thank you for your suggestion. Happy Coding! :)
@fridy-bgmi
@fridy-bgmi 5 ай бұрын
Thanks you, great explanation ❤
@CodingIsFun
@CodingIsFun 5 ай бұрын
Thanks for the positive feedback! Appreciate you taking the time to leave a comment. -Sven ✌️
@ryanblumenow
@ryanblumenow Жыл бұрын
Thanks for the video walkthrough. Can you customize the look of the page tabs and the navbar? Using CSS or something?
@CodingIsFun
@CodingIsFun Жыл бұрын
Thanks for watching. Currently, that is not possible out of the box. You would need to inject some custom CSS into your app.
@techlife2877
@techlife2877 10 ай бұрын
Very useful video, thank you :-)
@CodingIsFun
@CodingIsFun 10 ай бұрын
Happy to hear that it was useful; thank you for taking the time to leave a comment and for watching the video! Cheers, Sven ✌️
@anirbansarkar6306
@anirbansarkar6306 10 ай бұрын
great, cleared the doubts
@CodingIsFun
@CodingIsFun 10 ай бұрын
Happy to hear that it was helpful. Cheers, Sven ✌️
@theparagbagga
@theparagbagga Жыл бұрын
Awesome video
@CodingIsFun
@CodingIsFun Жыл бұрын
Happy to hear that! Thanks for watching and take the time to leave a comment! :)
@dominikbernard9939
@dominikbernard9939 Жыл бұрын
is there any way to add an image (e.g., company logo) above the pages? Your help would be highly appreciated!
@CodingIsFun
@CodingIsFun Жыл бұрын
Thanks for watching. You could use "streamlit-extras". Have a look here: arnaudmiribel.github.io/streamlit-extras/extras/app_logo/ I hope it helps!
@customerdelight2722
@customerdelight2722 5 ай бұрын
I have seen this video and tried to replicate. as per your narration, the links from the pages will be loaded in the sidebar. But I did not see anything loaded except the success message in the main screen. Is there any version issue that prevent loading the files automatically? I tried many methods for multiple pages app and everything gone bad or the page link to loading entire page instead of frame like MVC type of page loading..
@CodingIsFun
@CodingIsFun 5 ай бұрын
Thanks for watching. Please clone the repo and try again. Thanks! Cheers, Sven ✌️
@finuture
@finuture 8 ай бұрын
nice! on question, how to get page names at top instead of side bar?
@CodingIsFun
@CodingIsFun 8 ай бұрын
Thanks for watching. That is currently not supported, but you could you use the streamlit option menu: kzbin.info/www/bejne/nnazoKelat2jac0si=SmTCIBKGdPYRqJFW Happy Streamlit-ing! Cheers, Sven ✌️
@finuture
@finuture 8 ай бұрын
@@CodingIsFun thank you
@sujungpark5764
@sujungpark5764 2 жыл бұрын
Thank you for this Video 😁
@CodingIsFun
@CodingIsFun 2 жыл бұрын
You are welcome. Thanks for watching the video and taking the time to leave a comment! :)
@mk11_ftp51
@mk11_ftp51 5 ай бұрын
How can i keep the output displayed even after clicking next page. If i go back to previous page output is gone as session is gone. Is there a way to control this?
@CodingIsFun
@CodingIsFun 5 ай бұрын
Thanks for watching. As explained in the video, you can use session states. Cheers, Sven ✌️
@pborges_agir
@pborges_agir 10 ай бұрын
Thanks for you content! I have three streamlit apps, each one of them pulls data from a different spreadsheet in gsheet. Do you know if instead of having three apps, I could create only one multipage app? I mean, is it possible to since I need to get data from multiple spreadsheets? What secrets.toml file would I insert? Thank you so much!
@lovebaking2503
@lovebaking2503 2 ай бұрын
how do you insert emoji inside visual studio code? thanks.
@CodingIsFun
@CodingIsFun 2 ай бұрын
• On Windows ◦ Place your cursor where you want the emoji. ◦ Press Win + . (Windows key + period) or Win + ; (Windows key + semicolon). ◦ The emoji picker will open. Click on the emoji you want to insert. • On macOS ◦ Place your cursor where you want the emoji. ◦ Press Control + Command + Space. ◦ This brings up the emoji picker, allowing you to select an emoji to insert. • On Linux ◦ Shortcut options depend on your Linux distribution. ◦ You can usually use Ctrl + Shift + U, type the emoji's Unicode (for example, 1F60A for 😊), and press Enter. • Alternative ◦ Copy and paste emojis from an online emoji resource or your OS's emoji panel into Visual Studio Code.
@lovebaking2503
@lovebaking2503 Ай бұрын
@@CodingIsFun Thanks! 😄
@priyankabehara78
@priyankabehara78 9 ай бұрын
What can be used in place of streamlit option menu module
@CodingIsFun
@CodingIsFun 9 ай бұрын
Thanks for watching. Sorry, but I am not sure what you mean.
@angang2506
@angang2506 Жыл бұрын
Anyway to use multipages with streamlit-authentication? I only want to let users see the sidebar and pages after they succeafully logged in.
@CodingIsFun
@CodingIsFun Жыл бұрын
Thanks for watching. I also need to check out the documentation and tinker around with it. So, sorry that I can't give you an answer on that one. Happy Coding!
@sourabhpujari-t5j
@sourabhpujari-t5j Жыл бұрын
I am not able to see the files created in pages folder in side bar on the output page please help
@CodingIsFun
@CodingIsFun Жыл бұрын
Which Streamlit version are you using?
@SIVANAANDI
@SIVANAANDI 2 ай бұрын
I am creating a chat using llama 3.1 , streamlit,langchain the bot is working properly,but my to save the conversation in a file and i need attach with it how ???
@CodingIsFun
@CodingIsFun 2 ай бұрын
Thanks for watching. Sorry, but I'm not sure what you mean. Cheers, Sven ✌️
@alexred9963
@alexred9963 11 ай бұрын
interesting. but how block access to some pages if user do something wrong?
@CodingIsFun
@CodingIsFun 11 ай бұрын
You can use Streamlit Authenticator package to restrict access to your app.
@armantech5926
@armantech5926 Жыл бұрын
Idea for the next video: please make a tutorial how to make different oauth methods like: Google Oauth, Apple Oauth in Streamlit App. Thank you, Great Video!
@CodingIsFun
@CodingIsFun Жыл бұрын
Thanks for watching and your suggestion!
@kapilmudgal636
@kapilmudgal636 Жыл бұрын
I am running this on conda but not getting this page navigation activity there, can you guide me how to do that? I already have multiple scripts but entire process is happening on one page itself
@CodingIsFun
@CodingIsFun Жыл бұрын
Did you upgrade your streamlit version as shown in the video?
@kapilmudgal636
@kapilmudgal636 Жыл бұрын
@@CodingIsFun yes I have the latest version of streamlit i.e. V1.17.0
@CodingIsFun
@CodingIsFun Жыл бұрын
​@@kapilmudgal636 I suggest creating a separate virtual environment and installing the required libraries there. This will ensure that you have a clean, isolated environment for running your Python code, which can help avoid conflicts with any other libraries that you have installed on your machine. If that doesn't work, another thing you could try is using a different version of Python. For example, you could try using Python 3.8.5 instead of the version of Python that you are currently using. This might help resolve any compatibility issues that you are experiencing.
@iotlalo
@iotlalo Жыл бұрын
Amazing video
@CodingIsFun
@CodingIsFun Жыл бұрын
Thank you! :)
@SoftYoda
@SoftYoda Жыл бұрын
What about security, does the "Hello!!!" get replicated for other users or is it stored in cookies ? Are there any xml/xms injection possible?
@CodingIsFun
@CodingIsFun Жыл бұрын
As far as I know, Streamlit data isn't shared across users nor stored in cookies - it's contained within individual user sessions. Streamlit doesn't directly process XML or XMS, so it's not typically susceptible to those injection attacks.
@SoftYoda
@SoftYoda Жыл бұрын
@@CodingIsFun Ok, do you have documentation, is streamlit used only locally to test websites, or can it work on dedicated server, open to everyone ? How does the user-session work ? Does it execute the python code on the server (backend) or does it create front-end javascript that execute what is intended?
@CodingIsFun
@CodingIsFun Жыл бұрын
@@SoftYoda please refer to the official Streamlit documentations
@bingolio
@bingolio Жыл бұрын
Very strange your code not working (1.16.0) main app/entrypoint comes up fine, but pages/ dir pages do not show in sidebar, no errors!
@CodingIsFun
@CodingIsFun Жыл бұрын
Thank you for watching my video! I'm sorry that the Python code I provided doesn't seem to be working on your machine. I suggest creating a separate virtual environment and installing the required libraries there. This will ensure that you have a clean, isolated environment for running your Python code, which can help avoid conflicts with any other libraries that you have installed on your machine. If that doesn't work, another thing you could try is using a different version of Python. For example, you could try using Python 3.8.5 instead of the version of Python that you are currently using. This might help resolve any compatibility issues that you are experiencing.
@bingolio
@bingolio Жыл бұрын
@@CodingIsFun thanks for the reply , will try. Keep up the good work!
@kimmochi7339
@kimmochi7339 Жыл бұрын
I encountered an issue calling a dataset stored within a function on other pages. Additionally, I faced a challenge merging that dataset with my current filtered dataframe for the sidebar filter. The goal is to create a chart using the merged dataframe.
@CodingIsFun
@CodingIsFun Жыл бұрын
Thanks for watching. Hard to tell from a distance why it is not working for you
@stoicaflorin6368
@stoicaflorin6368 2 жыл бұрын
Is there a way to turn the sidebar multipage menu into a navbar?
@CodingIsFun
@CodingIsFun 2 жыл бұрын
5:21 min
@QbitSyria
@QbitSyria 2 жыл бұрын
Thanks I have a question about templates IF I created a template in Word and replaced words upon excel sheet How to send it using whatsapp as message not a file? What library should I use?
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Thank you very much for watching the video and your comment. Your requirements are well noted. Yet, I receive many requests for creating individual solutions. As much as I want to help, I simply do not find the time in my daily schedule to develop & test all the different requests. I hope you can understand. Thank you!
@QbitSyria
@QbitSyria 2 жыл бұрын
@@CodingIsFun not individual solution, if you just told what should I search for
@muhammadnafisidjazburthen1768
@muhammadnafisidjazburthen1768 Жыл бұрын
Hey there, thanks for the helpful video. Really interesting. Is there a way to move the homepage page which is the entry page after the about page? the homepage page is outside the pages folder so im not sure the way around it. Any tips is helpful thanks
@CodingIsFun
@CodingIsFun Жыл бұрын
Why not simply make the About page your default page and move the homepage into the pages folder. That should do the trick
@bibhutibaibhavbora8770
@bibhutibaibhavbora8770 Жыл бұрын
This was v helpful
@CodingIsFun
@CodingIsFun Жыл бұрын
Happy to hear that it was useful; thank you for taking the time to leave a comment and for watching the video!
@Collinul
@Collinul Жыл бұрын
I've encountered something :). I've created a home page and a secondary page, in the latter i make some calculations that i throw at the former to show. When you first run the app the secondary page runs later than the homePage and instead of showing the finished result it throws an error. Is there a simple way to resolve this issue?
@CodingIsFun
@CodingIsFun Жыл бұрын
Thanks for watching. What does the error message say?
@thanglt
@thanglt 2 жыл бұрын
Great video! Thanks a lot. Which IDE are you using?
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Thanks! In the screen recording I am using Atom. But for my daily work I am using VS code.
@thanglt
@thanglt 2 жыл бұрын
@@CodingIsFun Thanks a lot. How to prevent the page reloaded when selected?
@kubernetes2797
@kubernetes2797 Жыл бұрын
which emoji extension you are using? It's awesome
@CodingIsFun
@CodingIsFun Жыл бұрын
To open an emoji browser on a PC, you can use the keyboard shortcut Windows key + period (.) or semicolon (;), which will open the built-in Windows emoji keyboard and allow you to search for and insert emojis directly into text fields.
@kubernetes2797
@kubernetes2797 Жыл бұрын
@@CodingIsFun thank you
@gauthamsuresh4316
@gauthamsuresh4316 7 ай бұрын
Bro please help me. I need a way to have gradient colour background in my webpage. mine is streamlit versiom 1.33.0 . How can i add gradient background?
@CodingIsFun
@CodingIsFun 7 ай бұрын
Here you are: kzbin.info/www/bejne/pqq6oqprrqiBmtEsi=XsC8Y5osMURCx6DW Send greetings to Fanilo. Cheers, Sven ✌️
@gauthamsuresh4316
@gauthamsuresh4316 7 ай бұрын
@@CodingIsFun Thanks for the reply dude. I saw his video , but its not working. Btw not comparing I understand better from your videos. So keep up the work man. You have a gift for teaching people.
@yesiam6051
@yesiam6051 5 ай бұрын
How do I make it work in github
@CodingIsFun
@CodingIsFun 5 ай бұрын
I don't know what you mean. Cheers, Sven
@yesiam6051
@yesiam6051 5 ай бұрын
@@CodingIsFun I put the files in the main files, made folders and put the files inside but no new pages pop up. I ended up giving up and just made the pages into functions
@williamsilva1312
@williamsilva1312 2 жыл бұрын
AttributeError: module 'streamlit' has no attribute '_is_running_with_streamlit'.This error happens every time I try to plot the Hiplot view. Do you have any tips to resolve?
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Thanks for watching. Unfortunately, with that bit of information, I cannot help you. You might want to take some time to write down which line of code is causing the error; let me know if you have modified the code from the tutorial, explain in more depth what you did to troubleshoot the problem and provide some more context. Thanks!
@flaviucosl
@flaviucosl 9 ай бұрын
how can I make this executable acriot an exe, I have entered some codes in the menu pages Thank you
@CodingIsFun
@CodingIsFun 8 ай бұрын
Thank you for watching. That is somewhat possible. Have a look at the video from Fanilo: kzbin.info/www/bejne/aai9aHqIl9dsZ8ksi=Rn_t2U0fZkLwWELN. Good luck! 🤞🍀 Cheers, Sven ✌️
@mrrobot6619
@mrrobot6619 2 жыл бұрын
Learning a lot from your video's! After a whole day of trial an error i have a question. I would like to save the state of a radio button. So when i move back to a page of the multi page streamlit site i still see the changed value of my radio button.. can you guide me?
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Thanks for watching and for your question. Hard to tell from a distance why you are facing an error. Sorry that I cannot help.
@amitpandey989
@amitpandey989 2 жыл бұрын
Which editor your are using? I am using to VS Code?
@grev201
@grev201 2 жыл бұрын
This is an Atom, but unfortunately its support has been stopped.
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Correct - I am using Atom
@amitpandey989
@amitpandey989 2 жыл бұрын
I am trying to deploy streamlit app to windows IIS, unfortunately not working. Could you please create a video to deploy streamlit app on IIS, Azure or VM.
@CodingIsFun
@CodingIsFun 2 жыл бұрын
@@amitpandey989 Thanks for your suggestion. You might want to check out the following guides: docs.streamlit.io/knowledge-base/deploy/deploy-streamlit-heroku-aws-google-cloud
@MaxMustermann-on2gd
@MaxMustermann-on2gd 2 жыл бұрын
@@grev201 yep, same problem here. Have been using Atom all the time and because it is being deprecated soon I already started to play around with vscode and will soon switch completely. vscode is great, needs some customization though especially if you plan on using it for python.
@matilafatima3969
@matilafatima3969 Жыл бұрын
hello thank u for this video please can u tell me how did u add the emojis?
@CodingIsFun
@CodingIsFun Жыл бұрын
On a computer, you can use the emoji keyboard built into your operating system. For example, on Windows, you can use the Windows key + period (.) or Windows key + semicolon (;) to bring up the emoji keyboard. On a Mac, you can use the keyboard shortcut Command + Control + Spacebar.
@jorge1869
@jorge1869 2 жыл бұрын
Hi, instead of emojis I would like to know how to put my own logos in the links. Regards
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Thank you for watching the video and for your question. Unfortunately, I do not know how to implement that right off the bat. I would also need to search the internet for a solution. Sorry that I cannot help!
@surajshenoy1971
@surajshenoy1971 2 жыл бұрын
Hi, When I create a multipage app like you have done, and I run it, when I open the first of the multiple pages, I get the following error. StreamlitAPIException: set_page_config() can only be called once per app, and must be called as the first Streamlit command in your script. Is there a way to fix this so that this does not happen?
@CodingIsFun
@CodingIsFun 2 жыл бұрын
As written in the error message, you need to place st.set_page_config at the very top of your app. Example: ✅ DO: import streamlit as st st.set_page_config(page_icon:"random") st.write("Like the video") ⛔ DO NOT: import streamlit as st st.write("Like the video") st.set_page_config(page_icon:"random")
@adaptivetechnologies7584
@adaptivetechnologies7584 Жыл бұрын
Hello, first of all huge thanks for making such useful videos for all the new comers to streamlit. I got your current video and also your streamlit authentication video. Both works fine individually. However, when I add authentication to my main page, other pages are still open. How can we show the other pages only after valid login. Kindly suggest. Thanks.
@CodingIsFun
@CodingIsFun Жыл бұрын
Thank you for watching the video and for your question. Unfortunately, I do not know how to implement that right off the bat. I would also need to search the internet for a solution. Sorry that I cannot help!
@vadinho85
@vadinho85 Жыл бұрын
Oh, I've got the same issue. If you find the solution, please let us know. I'll do the same.
@ArnauViaM
@ArnauViaM 2 жыл бұрын
Nice! How are they executed? Are they executed only when you click them as independent script (except for sharing sessions states)? Thank you
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Thanks for watching. The app will first render the entry point -> the main Python file. The other pages will be rendered once you select them. I hope it helps! Happy Coding!
@AdhamFarid-yp2wp
@AdhamFarid-yp2wp Жыл бұрын
I make it , but i need to make to multiple pages deploy on streamlit cloud .. can you help me please 🙏
@CodingIsFun
@CodingIsFun Жыл бұрын
Thanks for watching. Yes, it is possible to deploy a multipage app on Streamlit cloud. What exactly is the issue?
@AdhamFarid-yp2wp
@AdhamFarid-yp2wp Жыл бұрын
@@CodingIsFun I deployed each page separately but i don't know how to combine them with one page.. can you help me how to combine them ?
@ronnienolan5436
@ronnienolan5436 2 жыл бұрын
Hello Sven.Nice work there!I wanted to ask if there is a way to disable "Submit" button,after name value input.
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Thanks for watching the video. Can you perhaps elaborate on what it is you're trying to achieve? Please provide some additional info. Thanks!
@ronnienolan5436
@ronnienolan5436 2 жыл бұрын
@@CodingIsFun Thank you for your quick response.I found out that,in the main page,the code puts me in a "bad loop' and it needs to refresh the page in order to input a new name value. If I try to enter a new name value,without refreshing the page,the text is being replaced by the first input. It takes a third input for the prefered new value to be entered. So I thought that by putting the "Submit" button out of the game,I eliminate the problem.
@CodingIsFun
@CodingIsFun 2 жыл бұрын
@@ronnienolan5436 Sorry, but I am still not quite sure what you are trying to achieve. Perhaps the streamlit "form" element might help: docs.streamlit.io/library/api-reference/control-flow/st.form
@ronnienolan5436
@ronnienolan5436 2 жыл бұрын
@@CodingIsFun Thank you for your time!I think that this might help.
@mikekaspari1357
@mikekaspari1357 2 жыл бұрын
Hi Sven, do you tried out the .config.toml file in the mutlipage App? it doesn't seem to be working.
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Hi Mike. I have not tried it out yet. If it does not work, you might want to raise an issue on the Streamlit Github repo ( github.com/streamlit/streamlit/issues )
@mikekaspari1357
@mikekaspari1357 2 жыл бұрын
@@CodingIsFun thx. i have created the .streamit folder and then stored the .config.toml in there. The I have changed the background color. But nothing happend
@CodingIsFun
@CodingIsFun 2 жыл бұрын
@@mikekaspari1357 As I said, you might want to raise an issue on GitHub. Just a quick note: the file name should be 'config.toml' (without the leading dot). See also here: docs.streamlit.io/library/advanced-features/configuration
@i0IcubeXstudioI0i
@i0IcubeXstudioI0i Жыл бұрын
Amazing video! May i ask if st-paywall works with multi-page web app?
@CodingIsFun
@CodingIsFun Жыл бұрын
Thanks for watching. I have not tried it yet.
@selim3291
@selim3291 2 жыл бұрын
Hello Sven, I love watching your videos and I learned a lot of things from you. And now, I want to make a data analysis web app and I'm wondering about how can we deploy a streamlit app on a hosting or server with a domain? Could you share with us how can we do that? Thanks a lot.
@CodingIsFun
@CodingIsFun 2 жыл бұрын
*I am glad you are enjoying them; thanks for watching and for the comment!* Your suggestions are well noted. In fact, I already have a video on how to deploy a streamlit app to Heroku. Yet, Heroku will shut down its free service in November. Once I find a suitable alternative, I will make a video about it.
@colinhuang2325
@colinhuang2325 Жыл бұрын
Hi Sven, is there any way we can push user input data back to GitHub repo?
@CodingIsFun
@CodingIsFun Жыл бұрын
I'm not entirely certain if I fully understand your question, but if you are looking to store data, I would recommend using a database or a straightforward Google Sheets document. You can find additional information on connecting Streamlit to a database here: docs.streamlit.io/knowledge-base/tutorials/databases. I hope this helps. Happy Coding!
@Hohorik
@Hohorik 2 жыл бұрын
question, if the pages don#t appear automatically , it mean i havn't upgraded streamlit? I tought i did, but somehow the envirments are messed up. Awesome tutorials by the way.
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Thanks! Yes, probably you are using an older streamlit version. I would suggest to create a separate env and then trying it again.
@witneschan3206
@witneschan3206 7 ай бұрын
Is atom editor still able to be used ?
@CodingIsFun
@CodingIsFun 7 ай бұрын
Atom has been sunset. You can still use it, but there will be no further development, bug fixes, or updates. Cheers, Sven ✌️
@cromme234
@cromme234 9 ай бұрын
Awesome video! The quality is excellent. Question: I created a database of which the data is updated on a daily basis. I want to show the data in interactive charts on a webpage. I want it to become an official website eventually. Instead of having to deal with all the full stack web development tools, I want to simply use streamlit. Is this possible? and if it is possible to create the charts which update daily on streamlit, is it possible to make it an 'official' publically available website with a name of my choosing? If this is possible, do you have tips?
@CodingIsFun
@CodingIsFun 9 ай бұрын
Thanks for watching! Yes, you can establish a live connection with Streamlit to your database if your database is hosted online. Additionally, it's also possible to use a custom domain with your Streamlit site. Have a look at my 'Render' tutorial. Once you deploy Streamlit there, you can also configure a custom domain at Render. I hope this helps! Happy coding and deployment! Cheers, Sven ✌️
@cromme234
@cromme234 9 ай бұрын
Thanks a lot!@@CodingIsFun
@grev201
@grev201 2 жыл бұрын
How to properly authenticate in a multi-page application. I put code authentication on the main page, but without authentication, all other pages were accessible. I could not resolve this problem.
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Not sure, as I have not tested it out yet.
@ranjeethp1371
@ranjeethp1371 2 жыл бұрын
how to deploy streamlit app in IIS please?
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Thank you for watching the video and for your question. Unfortunately, I do not know how to implement that right off the bat. I would also need to search the internet for a solution. Sorry that I cannot help!
@tsafackkevin595
@tsafackkevin595 2 жыл бұрын
when you are on the first page and you enter what you want to see in your text field, it will be saved directly in the session, and when you go to the second page you will see the value that is in the session , but when you come back to the first page the session clears again and start again . it means that the session does not know how to save itself; I encountered this problem yesterday, and I was forced to use the session on a single page
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Thanks for watching. I cannot replicate that behaviour. When I navigate back to the main page (5:07 min), I can still see the new default value ("Hello") despite navigating between pages. Have you tried to clone the GitHub repo and play around locally with it?
@saicharanritwikchinni6708
@saicharanritwikchinni6708 2 жыл бұрын
I have been facing the same issue when using st.number_input. Any fix for this? Although it is working just fine for the text box example in the video.
@CodingIsFun
@CodingIsFun 2 жыл бұрын
@@saicharanritwikchinni6708 Once again, I cannot replicate this issue. Here is an example using number_input: pastebin.com/zd2CHMVU
@vimalaparuchuru6776
@vimalaparuchuru6776 2 жыл бұрын
I’ve been facing the same issue while using file_uploader(). After uploading a file and displaying some metadata on Page 1, when I move to Page 2, I’m able to access the dataframe from page 1. However, if I move back to Page 1, the uploaded file clears and so do all the other containers on the first page. User needs to upload again. Is there any solution to this?
@AIdevel
@AIdevel 2 жыл бұрын
What is the name of IDE you used here ?
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Atom
@MrJ2amil
@MrJ2amil Жыл бұрын
how to open or creat a blank open file in python?
@CodingIsFun
@CodingIsFun Жыл бұрын
To create a Python file, simply open a text editor, create a new file, and save it with the ".py" extension. Happy coding!
@tomkmb4120
@tomkmb4120 2 жыл бұрын
This was a great video, thanks a lot. Is it possible to use custom PNGs as an emoji? I'm trying to have the excel logo in the headings for some of the pages on my web app
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Thank you for watching the video and for your question. Unfortunately, I do not know how to implement that right off the bat. I would also need to search the internet for a solution. Sorry that I cannot help!
@mouhameddiop2245
@mouhameddiop2245 2 жыл бұрын
Hi sir how are you. Please can explain me how to open a New tab on webbrowser. For example in home page how to access another page on new tab
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Thank you for watching the video and for your question. Unfortunately, I do not know how to implement that right off the bat. I would also need to search the internet for a solution. Sorry that I cannot help!
@mouhameddiop2245
@mouhameddiop2245 2 жыл бұрын
@@CodingIsFun thank you for all, I await your solution. I will continue to search the internet.
@mouhameddiop2245
@mouhameddiop2245 2 жыл бұрын
@@CodingIsFun i tried with webbrower library, the new tab opened but i have some error with st.session_state
@gamersbattlegrounds4743
@gamersbattlegrounds4743 2 жыл бұрын
Is this app runs the script individually per each user?
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Yes!
@martg0
@martg0 11 ай бұрын
do you run this on desktop? or host?
@CodingIsFun
@CodingIsFun 11 ай бұрын
Up to you. You can either run it locally or deploy it
@Victor_Rente7
@Victor_Rente7 Жыл бұрын
How can u use those emojis?
@CodingIsFun
@CodingIsFun Жыл бұрын
Thanks for watching. To access the emoji keyboard on Windows, press the Windows key (Win) and the period (.) or semicolon (;) key simultaneously. This will open the emoji panel where you can browse and select emojis to insert in your streamlit app.
@triagustina5742
@triagustina5742 2 жыл бұрын
how to add emoji after underscore
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Press Windows key + ; (semicolon) or Windows key +. (period).
@sangitamule7426
@sangitamule7426 2 жыл бұрын
Hi sir your video's are ownsome, I need some help --- how create dependent dropdownlist using streamlit
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Thanks for watching. Perhaps the following might help: stackoverflow.com/a/71917527 Happy Coding!
@amiraabdelsalam96
@amiraabdelsalam96 Жыл бұрын
Hello developers and python lovers (: I tried to convert python to .exe but there is an error regarding tesseract > pytesseract when I trying to open .exe in another device python not installed on it
@CodingIsFun
@CodingIsFun Жыл бұрын
Thanks for checking out the video! Your question doesn't seem to be related to what we covered here, but if you need help with anything Python related, come join us on our Discord channel at pythonandvba.com/discord. Just a heads up, make sure to check out the rules before asking any questions to make sure we can provide the best support.
@amiraabdelsalam96
@amiraabdelsalam96 Жыл бұрын
@@CodingIsFun ok thanks
@naniSinek
@naniSinek Жыл бұрын
Could you please show this with a multiselect?
@CodingIsFun
@CodingIsFun Жыл бұрын
Thanks for watching the video. Can you perhaps elaborate on what it is you're trying to achieve? Please provide some additional info. Thanks!
@aneesha123able
@aneesha123able Жыл бұрын
@@CodingIsFun If we give multiple text_input, error pops up.
@CodingIsFun
@CodingIsFun Жыл бұрын
@@aneesha123able Sorry with that bit of information I cannot help you
@mouhameddiop2245
@mouhameddiop2245 2 жыл бұрын
Hi sir, it is very interresting and fun. I like your vidéo. Please when i use streamlit i cannot to display the st.set_page_config command. Should install another library?
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Thanks for watching. Unfortunately, with that bit of information, I cannot help you. You might want to take some time to write down which line of code is causing the error; let me know if you have modified the code from the tutorial, explain in more depth what you did to troubleshoot the problem and provide some more context. Thanks!
@mouhameddiop2245
@mouhameddiop2245 2 жыл бұрын
Thank. No i Just write the first code after importing streamlit as st. Normally before coding the first task is to write st.set_page_config (). My problem is i don't write this code, i even has help by typing on keyboard.
@mouhameddiop2245
@mouhameddiop2245 2 жыл бұрын
It' OK now, It was necessary to write all the code. Thanks. I am very happy to watch you. Can i have your email
@CodingIsFun
@CodingIsFun 2 жыл бұрын
@@mouhameddiop2245 pythonandvba.com/contact/
@danbooth3548
@danbooth3548 2 жыл бұрын
Hello is there a way to contact you in response to a project to have you work on for coding will compensate is there a good way to reach out.
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Thanks, I already received your email.
@tojoeinstein5558
@tojoeinstein5558 2 ай бұрын
how to use django in stream lite
@CodingIsFun
@CodingIsFun 2 ай бұрын
What would be the use case?
@miciglaric
@miciglaric 6 ай бұрын
NIce! Can you make video about secure Streamlit login with PyJWT for database?
@CodingIsFun
@CodingIsFun 6 ай бұрын
Thank you for watching the video & your suggestion. Cheers, Sven ✌️
@user-fg9qy7bt3k
@user-fg9qy7bt3k 2 жыл бұрын
Good!!
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Glad you liked it. Thanks for watching.
@praveenv1008
@praveenv1008 2 жыл бұрын
Hi, this is great video, thanks. I have seen your website that looks great as well. Can you please make video on that as well?
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Do you mean my personal website (pythonandvba.com)? I have created that website using WordPress.
@praveenv1008
@praveenv1008 2 жыл бұрын
@@CodingIsFun Yes, It looks pretty good. Is there anyway that you could make an video on it?
@DiegoPavez-m5j
@DiegoPavez-m5j Жыл бұрын
great tutorial, thanks but i was wondering if you could point out how to do a log in page before this is showed so only verified users are show this multipage
@CodingIsFun
@CodingIsFun Жыл бұрын
Thanks for watching. Check out the following tutorial: blog.streamlit.io/streamlit-authenticator-part-1-adding-an-authentication-component-to-your-app/ Happy Coding!
@iamramiz
@iamramiz 4 ай бұрын
Ahh Atom… long lost love. Had to switch to vim…
@CodingIsFun
@CodingIsFun 4 ай бұрын
Good old times. I've switched now to VS Code.
@chriskeo392
@chriskeo392 2 жыл бұрын
Streamlit 1. callback 2. Job queues
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Thanks for watching!
@chriskeo392
@chriskeo392 2 жыл бұрын
More please
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Ok!
@chriskeo392
@chriskeo392 2 жыл бұрын
@@CodingIsFun thank you re a saint
@amsathsherif659
@amsathsherif659 Жыл бұрын
Hello Sir, i have seen your all videos awazing i would request build one project like if i have 3 company i need to create the web application for revenue visulation using plotly and it need to be create user base Authication i.e if have 3 i need to create the 3 login users user only can entering the data and administrator or owner can visualize the graph and create the user it should be reflecting to local sql database, i hope its clear do the project please it will help many of them
@CodingIsFun
@CodingIsFun Жыл бұрын
Thanks for watching and for your video suggestion! 👍
@iDea16388-c
@iDea16388-c 2 жыл бұрын
How about my video my suggesiton
@CodingIsFun
@CodingIsFun 2 жыл бұрын
I get many video requests, but I only have 24h in a day. I am doing KZbin in my leisure time apart from my day job. I am sure you understand that I cannot create a video for every request I receive. Thanks!
@andrew.derevo
@andrew.derevo 6 ай бұрын
i’m the only one who can hear voices changing on video?)
@CodingIsFun
@CodingIsFun 6 ай бұрын
🤯
@andrew.derevo
@andrew.derevo 6 ай бұрын
@@CodingIsFun 😅 maybe i’m using LLM’s to much for last few month, getting a little crazy 😜
Build A Digital Resume Using Python & Streamlit
15:27
Coding Is Fun
Рет қаралды 58 М.
UFC 310 : Рахмонов VS Мачадо Гэрри
05:00
Setanta Sports UFC
Рет қаралды 1,2 МЛН
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,7 МЛН
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19
Streamlit Elements You Should Know About in 2023
14:31
Mısra Turp
Рет қаралды 109 М.
Your Most Requested Streamlit Features FINALLY Out!
8:29
Fanilo Andrianasolo
Рет қаралды 16 М.
New Streamlit Multi-Page Web Apps - Converting Existing Apps
10:44
Andy McDonald
Рет қаралды 12 М.
The EASIEST way to insert a NAVIGATION into your Streamlit app
3:39
How to Add a User Authentication Service (Login Form) in Streamlit
7:14
My Workflow for Building any Streamlit Dashboard Project
9:40
Fanilo Andrianasolo
Рет қаралды 102 М.
Create Stunning Python GUIs in 10 Minutes With Drag & Drop
11:38
Coding Is Fun
Рет қаралды 102 М.
How to Convert a Streamlit App to an .EXE Executable
8:20
Fanilo Andrianasolo
Рет қаралды 50 М.
5 Things I Wish I Knew Before Learning Streamlit
21:34
Fanilo Andrianasolo
Рет қаралды 37 М.
How to OVER Engineer a Website // What is a Tech Stack?
11:20
Fireship
Рет қаралды 2,5 МЛН
UFC 310 : Рахмонов VS Мачадо Гэрри
05:00
Setanta Sports UFC
Рет қаралды 1,2 МЛН