Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Website
Tasks
HuggingChat
Collections
Languages
Organizations
Community
Blog
Posts
Daily Papers
Hardware
Learn
Discord
Forum
GitHub
Solutions
Team & Enterprise
Hugging Face PRO
Enterprise Support
Inference Providers
Inference Endpoints
Storage Buckets
Log In
Sign Up
Spaces:
Duplicated from
HASHIRUAgentX/hashiruAI
helloparthshah
/
hashiruAI
like
3
Running
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
hashiruAI
/
src
/
manager
/
utils
/
singleton.py
helloparthshah
refactor
2f85c93
about 1 year ago
Raw
Download with hf CLI
Copy download link
History
Blame
Contribute
Delete
Safe
182 Bytes
def
singleton
(
cls
):
instances = {}
def
getinstance
():
if
cls
not
in
instances:
instances[cls] = cls()
return
instances[cls]
return
getinstance