Spaces:
Runtime error
Runtime error
Download diffusion/model/ldm/model.py from dinhdat1110/diffusion-model: direct link, hf CLI and curl.
- Browser
- Download file 112 Bytes
-
https://huggingface.co/spaces/dinhdat1110/diffusion-model/resolve/main/diffusion/model/ldm/model.py
- Command line
-
hf download hf://spaces/dinhdat1110/diffusion-model/diffusion/model/ldm/model.py
-
curl -L -o model.py https://huggingface.co/spaces/dinhdat1110/diffusion-model/resolve/main/diffusion/model/ldm/model.py
112 Bytes
| import torch | |
| import pytorch_lightning as pl | |
| class LatentDiffusionModel(pl.LightningModule): | |
| # TODO | |
| pass |