Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
abashar
/
price
like
0
Paused
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
price
/
src
/
misc
/
create_unique_id.py
abashar
make it ready for HF
fed5c73
over 1 year ago
raw
Copy download link
history
blame
contribute
delete
Safe
154 Bytes
import
uuid
from
datetime
import
datetime
def
create_unique_user_id
():
return
f"
{
str
(uuid.uuid4())}
_
{datetime.now().strftime(
'%Y_%m_%d_%H_%M_%S'
)}
"