Spaces:
Running
Running
Download models/settings.py from michaelj/FastAPI_lcm_docker: direct link, hf CLI and curl.
- Browser
- Download file 339 Bytes
-
https://huggingface.co/spaces/michaelj/FastAPI_lcm_docker/resolve/80f3ced06fb77a542f78b11f06d640046bbd5c4f/models/settings.py
- Command line
-
hf download hf://spaces/michaelj/FastAPI_lcm_docker@80f3ced06fb77a542f78b11f06d640046bbd5c4f/models/settings.py
-
curl -L -o settings.py https://huggingface.co/spaces/michaelj/FastAPI_lcm_docker/resolve/80f3ced06fb77a542f78b11f06d640046bbd5c4f/models/settings.py
339 Bytes
| from pydantic import BaseModel | |
| from backend.models.lcmdiffusion_setting import LCMDiffusionSetting, LCMLora | |
| from paths import FastStableDiffusionPaths | |
| class Settings(BaseModel): | |
| results_path: str = FastStableDiffusionPaths().get_results_path() | |
| lcm_diffusion_setting: LCMDiffusionSetting = LCMDiffusionSetting(lcm_lora=LCMLora()) | |