YSDA_TEST2 / app.py
justheuristic's picture
Update app.py
5b29666
raw
history blame
403 Bytes
import streamlit as st
st.markdown("### Hello, world!")
st.markdown("<img width=200px src='https://rozetked.me/images/uploads/dwoilp3BVjlE.jpg'>", unsafe_allow_html=True)
import time
from transformers import pipeline
def process(text):
return text[::-1]
text = st.text_area("TEXT HERE")
for i in range(10):
st.markdown(f"<p>{process(text)}</p>", unsafe_allow_html=True)
time.sleep(1.0)