File size: 486 Bytes
330bc40
f8a7645
330bc40
 
 
f8a7645
9d7640a
f8a7645
 
f870586
f85b877
3713e54
 
1
2
3
4
5
6
7
8
9
10
11
12
13
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)