Spaces:
Runtime error
Runtime error
Commit
·
640070d
1
Parent(s):
75d48c4
Create app.py
Browse files
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)}")
|