Spaces:
Sleeping
Sleeping
Download utils.py from jen900704/PanTS_Website: direct link, hf CLI and curl.
- Browser
- Download file 266 Bytes
-
https://huggingface.co/spaces/jen900704/PanTS_Website/resolve/main/utils.py
- Command line
-
hf download hf://spaces/jen900704/PanTS_Website/utils.py
-
curl -L -o utils.py https://huggingface.co/spaces/jen900704/PanTS_Website/resolve/main/utils.py
266 Bytes
| class Utils: | |
| def removeFileExt(cls, filename): | |
| return filename[:filename.index('.')] | |
| #from services.session_manager import SessionManager | |
| #s = SessionManager.instance() | |
| #uuid = str(s.generate_session_key()) | |
| #print(uuid, type(uuid)) |