I am a beginner in web dev so I have a few questions about using the Streamlit
-
How can I change the UI of the website? like background color etc
-
How to user authenticate in the streamlit app? Should I use firebase or is there any way around
-
I am trying to build a weather app, so if the model returns sunny I want the background color of the website to be changed to warm color, If its rainy change it to gloomy bg. How can this be done?
-
I am trying to do a dummy login just for now
I have 2 buttons, a login and a weather button
My flow is this login_button ----> Get_weather_button
login_button = st.button("Login")
if login_button:
city_name = st.text_input("Enter the City")
Get_weather_button = st.button("Get Weather")
if button:
st.success('Showing for {} '.format(city_name))
show_weather()
show_weather()
contains all the Display items
But for some reason after I click on the login_button
it opens the Get Weather
button but on clicking the Get Weather button it reverts back to the outer if condition
As seen in the Gif it reverts back to the initial condition thus not displaying the charts and logic under show_weather()
5.Local system file uploader widget support similar to this