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) from transformers import pipeline def process(text): return text[::-1] text = st.text_area("TEXT HERE") st.markdown(f"{process(text)}")