Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Annorita
/
tokenizer_comparison
like
3
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
96a0e76
tokenizer_comparison
/
app.py
Annorita
test
96a0e76
over 1 year ago
raw
Copy download link
history
blame
239 Bytes
import
streamlit
as
st
st.title(
'Tokenizers demo!!'
)
x = st.slider(
'Select a value'
)
st.write(x,
'squared is'
, x * x)
option = st.selectbox(
'Choose a tokenizer'
,
[
'狗'
,
'貓'
,
'鸚鵡'
,
'天竺鼠'
])
'你的答案:'
, option