circulartext commited on
Commit
c43634d
1 Parent(s): 6d173a8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -203,12 +203,14 @@ typed_text = ""
203
  for char in text_to_type:
204
  if char == "\n":
205
  typed_text += "\n"
206
- placeholder.code(typed_text, language="text")
207
  time.sleep(0.3) # Delay for line break
208
  else:
209
  typed_text += char
210
- placeholder.code(typed_text, language="text")
211
  time.sleep(0.05) # Adjust typing speed here
212
 
 
 
213
  # Add a delay after typing is complete
214
  time.sleep(1)
 
203
  for char in text_to_type:
204
  if char == "\n":
205
  typed_text += "\n"
206
+ placeholder.markdown(f"<span style='font-size: 18px;'>{typed_text}</span>", unsafe_allow_html=True)
207
  time.sleep(0.3) # Delay for line break
208
  else:
209
  typed_text += char
210
+ placeholder.markdown(f"<span style='font-size: 18px;'>{typed_text}</span>", unsafe_allow_html=True)
211
  time.sleep(0.05) # Adjust typing speed here
212
 
213
+
214
+
215
  # Add a delay after typing is complete
216
  time.sleep(1)