Spaces:
Runtime error
Runtime error
christopher
commited on
Commit
•
422fadf
1
Parent(s):
a8d8b2b
Create app.py
Browse files
app.py
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import streamlit as st
|
2 |
+
from tokenizers.tools import EncodingVisualizer
|
3 |
+
from transformers import AutoTokenizer
|
4 |
+
st.set_page_config(page_title="BigScience Tokenizer", page_icon='👩💻', layout="wide")
|
5 |
+
text = st.text_area(label="", placeholder="Text to tokenize")
|