Spaces:
Sleeping
Sleeping
| import streamlit as st | |
| # Animated text function | |
| def animated_text(text, speed=0.05): | |
| placeholder = st.empty() | |
| displayed_text = "" | |
| for letter in text: | |
| displayed_text += letter | |
| placeholder.markdown(f""" | |
| <h1 style="text-align:center; color: #FF4500;">{displayed_text} 🚀</h1> | |
| """, unsafe_allow_html=True) # Corrected f-string formatting | |
| time.sleep(speed) | |
| # Display animated text | |
| animated_text("Welcome to GenAI App - AI Code Reviewer!", speed=0.1) |