import streamlit as st
st.markdown("### Hello, world!")
st.markdown("", unsafe_allow_html=True)
import time
from transformers import pipeline
import psutil
nbytes = psutil.virtual_memory().total
st.text(f"{nbytes} bytes // {nbytes // 2**30} gibibytes")
def process(text):
return text[::-1]
text = st.text_area("TEXT HERE")
for i in range(10):
st.markdown(f'
{process(text)} ...
', unsafe_allow_html=True) time.sleep(1.0)