Spaces:
Sleeping
Sleeping
Update app.py
Browse files1234567891011121314151617import streamlit as st# Function to greet the userdef greet(name):return f"Hi, {name}! Welcome to the cute greeting app! 🌸"# Streamlit interfacest.title("Cute Greeting App")st.write("Enter your name below to get a cute greeting!")# Input field for the user's namename = st.text_input("What's your name?")# Display the greeting if a name is enteredif name:greeting = greet(name)st.write(greeting)12345678910111213141516171819import streamlit as st# Load CSSdef load_css(file_name):with open(file_name, "r") as f:st.markdown(f"<style>{f.read()}</style>", unsafe_allow_html=True)# Apply CSSload_css("style.css")# Streamlit UIst.title("🌸 Cute Greeting App 🌸")st.write("Enter your name below for a special greeting!")# Input field for namename = st.text_input("Your Name:")if name:st.subheader(f"✨ Hi, {name}! You're amazing! ✨")
app.py+13-11