Spaces:
Build error
Build error
Download dummy_commit_scheduler.py from Carlyn2015/stitich-diffusion-test-6: direct link, hf CLI and curl.
- Browser
- Download file 345 Bytes
-
https://huggingface.co/spaces/Carlyn2015/stitich-diffusion-test-6/resolve/main/dummy_commit_scheduler.py
- Command line
-
hf download hf://spaces/Carlyn2015/stitich-diffusion-test-6/dummy_commit_scheduler.py
-
curl -L -o dummy_commit_scheduler.py https://huggingface.co/spaces/Carlyn2015/stitich-diffusion-test-6/resolve/main/dummy_commit_scheduler.py
345 Bytes
| # A dummy object to fit the interface of huggingface_hub's CommitScheduler | |
| class DummyCommitSchedulerLock: | |
| def __enter__(self): | |
| return None | |
| def __exit__(self, exception_type, exception_value, exception_traceback): | |
| pass | |
| class DummyCommitScheduler: | |
| def __init__(self): | |
| self.lock = DummyCommitSchedulerLock() | |