Spaces:
Runtime error
Runtime error
justheuristic
commited on
Commit
·
c756a23
1
Parent(s):
64ad5b5
Update app.py
Browse files
app.py
CHANGED
@@ -16,5 +16,5 @@ text = st.text_area("TEXT HERE")
|
|
16 |
if len(text.split()) > 0: # note: this if avoids sleep during first loading time
|
17 |
t = st.empty()
|
18 |
for i in range(len(text) + 1):
|
19 |
-
t.markdown(f"## {text[0:i]}...")
|
20 |
time.sleep(1.0)
|
|
|
16 |
if len(text.split()) > 0: # note: this if avoids sleep during first loading time
|
17 |
t = st.empty()
|
18 |
for i in range(len(text) + 1):
|
19 |
+
t.markdown(f"## {process(text)[0:i]}...")
|
20 |
time.sleep(1.0)
|