random_emoji / app.py
cdleong's picture
slider update
bf8ab2d
raw
history blame
240 Bytes
import naughty_string_validator as nsv
import random
import streamlit as st
if __name__ == "__main__":
x = st.slider('Select a value', value=50, max_value=1000)
emojis = random.choices(nsv.get_emoji_list(), k=x)
st.write(emojis)