Spaces:
Sleeping
Sleeping
File size: 308 Bytes
5a5f243 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
import numpy as np
import random
import string
import uuid
from datetime import datetime
def create_user_id():
"""Create user_id
str: String to id user
"""
current_date = datetime.now().strftime("%Y-%m-%d-%H-%M-%S")
user_id = str(uuid.uuid4())
return current_date + '_' +user_id |