Spaces:
Runtime error
Runtime error
Commit
·
5b29666
1
Parent(s):
78bfd52
Update app.py
Browse files
app.py
CHANGED
@@ -3,6 +3,7 @@ import streamlit as st
|
|
3 |
st.markdown("### Hello, world!")
|
4 |
st.markdown("<img width=200px src='https://rozetked.me/images/uploads/dwoilp3BVjlE.jpg'>", unsafe_allow_html=True)
|
5 |
|
|
|
6 |
from transformers import pipeline
|
7 |
|
8 |
def process(text):
|
@@ -10,4 +11,6 @@ def process(text):
|
|
10 |
|
11 |
text = st.text_area("TEXT HERE")
|
12 |
|
13 |
-
|
|
|
|
|
|
3 |
st.markdown("### Hello, world!")
|
4 |
st.markdown("<img width=200px src='https://rozetked.me/images/uploads/dwoilp3BVjlE.jpg'>", unsafe_allow_html=True)
|
5 |
|
6 |
+
import time
|
7 |
from transformers import pipeline
|
8 |
|
9 |
def process(text):
|
|
|
11 |
|
12 |
text = st.text_area("TEXT HERE")
|
13 |
|
14 |
+
for i in range(10):
|
15 |
+
st.markdown(f"<p>{process(text)}</p>", unsafe_allow_html=True)
|
16 |
+
time.sleep(1.0)
|