Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ from transformers import pipeline
|
|
3 |
st.title("English Text to Emoji")
|
4 |
|
5 |
pipe = pipeline('text2text-generation', model ="KomeijiForce/t5-base-emojilm")
|
6 |
-
text = st.text_area('enter some text: ')
|
7 |
|
8 |
if text:
|
9 |
out = pipe(text)
|
|
|
3 |
st.title("English Text to Emoji")
|
4 |
|
5 |
pipe = pipeline('text2text-generation', model ="KomeijiForce/t5-base-emojilm")
|
6 |
+
text = st.text_area('enter some text and I will convert it into emoji: ')
|
7 |
|
8 |
if text:
|
9 |
out = pipe(text)
|