Spaces:
Build error
Build error
| import naughty_string_validator as nsv | |
| import random | |
| import streamlit as st | |
| if __name__ == "__main__": | |
| x = st.slider('How many emoji would you like?', value=50, max_value=3141) | |
| emojis = random.choices(nsv.get_emoji_list(), k=x) | |
| st.write(f"generating {x} random emojis using [naughty string validator](https://github.com/shashikumarraja/naughty_string_validator_python)") | |
| st.write(emojis) | |
| emojistring = "".join(emojis) | |
| st.download_button("download emojis", emojistring) |