Spaces:
Sleeping
Sleeping
Download app/utils/name_generator.py from utkarsh134/LogoGeneration: direct link, hf CLI and curl.
- Browser
- Download file 243 Bytes
-
https://huggingface.co/spaces/utkarsh134/LogoGeneration/resolve/main/app/utils/name_generator.py
- Command line
-
hf download hf://spaces/utkarsh134/LogoGeneration/app/utils/name_generator.py
-
curl -L -o name_generator.py https://huggingface.co/spaces/utkarsh134/LogoGeneration/resolve/main/app/utils/name_generator.py
243 Bytes
| import random | |
| import uuid | |
| def generate_brand_name() -> str: | |
| """ | |
| Generate a unique brand name for image naming purposes. | |
| Returns a string combining a UUID to ensure uniqueness. | |
| """ | |
| return f"{uuid.uuid4().hex[:8]}" | |