Mpavan45 commited on
Commit
526b85a
·
verified ·
1 Parent(s): cbca970

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -78,7 +78,7 @@ def animated_text(text, speed=0.05):
78
 
79
  for letter in text:
80
  displayed_text += letter
81
- placeholder.markdown(f"<h1 class='title-text'>{displayed_text} 🚀</h1>", unsafe_allow_html=True)
82
  time.sleep(speed)
83
 
84
  # 🔹 **Display Animated Welcome Message**
@@ -156,6 +156,6 @@ if user_input:
156
 
157
  # ✅ Clear the input field after message submission
158
  st.session_state.pop("user_message")
159
- st.session_state["user_message"] = ""
160
  st.rerun() # Refresh the app
161
 
 
78
 
79
  for letter in text:
80
  displayed_text += letter
81
+ placeholder.markdown(f"<h1 class='title-text'; color: #00D1FF;>{displayed_text} 🚀</h1>", unsafe_allow_html=True)
82
  time.sleep(speed)
83
 
84
  # 🔹 **Display Animated Welcome Message**
 
156
 
157
  # ✅ Clear the input field after message submission
158
  st.session_state.pop("user_message")
159
+ st.session_state["user_message"] = ""
160
  st.rerun() # Refresh the app
161