mbabanov commited on
Commit
c5da81d
1 Parent(s): b07177d

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -0
app.py ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+
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):
9
+ return text[::-1]
10
+
11
+ text = st.text_area("TEXT HERE")
12
+
13
+ st.markdown(f"{process(text)}")