Download utils.py from Ekimetrics/climate-question-answering: direct link, hf CLI and curl.
- Browser
- Download file 194 Bytes
-
https://huggingface.co/spaces/Ekimetrics/climate-question-answering/resolve/4076012f3cb610951c85ff5337af709cdfd9d886/utils.py
- Command line
-
hf download hf://spaces/Ekimetrics/climate-question-answering@4076012f3cb610951c85ff5337af709cdfd9d886/utils.py
-
curl -L -o utils.py https://huggingface.co/spaces/Ekimetrics/climate-question-answering/resolve/4076012f3cb610951c85ff5337af709cdfd9d886/utils.py
194 Bytes
| import numpy as np | |
| import random | |
| import string | |
| import uuid | |
| def create_user_id(): | |
| """Create user_id | |
| str: String to id user | |
| """ | |
| user_id = str(uuid.uuid4()) | |
| return user_id |