Spaces:
Sleeping
Sleeping
import streamlit as st | |
# Load CSS | |
def load_css(file_name): | |
with open(file_name, "r") as f: | |
st.markdown(f"<style>{f.read()}</style>", unsafe_allow_html=True) | |
# Apply CSS | |
load_css("style.css") | |
# Streamlit UI | |
st.title("🌸 Cute Greeting App 🌸") | |
st.write("Enter your name below for a special greeting!") | |
# Input field for name | |
name = st.text_input("Your Name:") | |
if name: | |
st.subheader(f"✨ Hi, {name}! You're amazing! ✨") | |