Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -203,11 +203,11 @@ typed_text = ""
|
|
| 203 |
for char in text_to_type:
|
| 204 |
if char == "\n":
|
| 205 |
typed_text += "\n"
|
| 206 |
-
placeholder.markdown(f"<span style='font-size:
|
| 207 |
time.sleep(0.5) # Increased delay for line break
|
| 208 |
else:
|
| 209 |
typed_text += char
|
| 210 |
-
placeholder.markdown(f"<span style='font-size:
|
| 211 |
time.sleep(0.07) # Slightly increased typing speed
|
| 212 |
|
| 213 |
# Add a delay after typing is complete
|
|
|
|
| 203 |
for char in text_to_type:
|
| 204 |
if char == "\n":
|
| 205 |
typed_text += "\n"
|
| 206 |
+
placeholder.markdown(f"<span style='font-size: 25px;'>{typed_text}</span>", unsafe_allow_html=True)
|
| 207 |
time.sleep(0.5) # Increased delay for line break
|
| 208 |
else:
|
| 209 |
typed_text += char
|
| 210 |
+
placeholder.markdown(f"<span style='font-size: 25px;'>{typed_text}</span>", unsafe_allow_html=True)
|
| 211 |
time.sleep(0.07) # Slightly increased typing speed
|
| 212 |
|
| 213 |
# Add a delay after typing is complete
|