justheuristic commited on
Commit
eaab51a
1 Parent(s): 03ab2d4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -5,8 +5,9 @@ st.markdown("<img width=200px src='https://rozetked.me/images/uploads/dwoilp3BVj
5
 
6
  from transformers import pipeline
7
 
8
- pipe = pipeline("ner", "Davlan/distilbert-base-multilingual-cased-ner-hrl")
 
9
 
10
  text = st.text_area("TEXT HERE")
11
 
12
- st.markdown(f"{pipe(text)}")
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)}")