Spaces:
Running
Running
Download src/config.ts from lrigamai/browser: direct link, hf CLI and curl.
- Browser
- Download file 1.07 kB
-
https://huggingface.co/spaces/lrigamai/browser/resolve/main/src/config.ts
- Command line
-
hf download hf://spaces/lrigamai/browser/src/config.ts
-
curl -L -o config.ts https://huggingface.co/spaces/lrigamai/browser/resolve/main/src/config.ts
1.07 kB
| /** Where the browser reads from. Everything else is derived from the Hub at runtime. */ | |
| export const config = { | |
| /** Model repo holding the LoRAs. Each top-level folder is treated as a base model. */ | |
| repo: "lrigamai/loras", | |
| revision: "main", | |
| /** Top-level folders that aren't base models. */ | |
| ignoreDirs: ["Archive"], | |
| /** File extensions counted as LoRA weights. */ | |
| extensions: [".safetensors"], | |
| /** | |
| * Optional dataset repo with preview images, laid out as | |
| * `<model folder>/<lora file stem>/<any>.{png,jpg,jpeg,webp}`. | |
| * `null` → generated placeholders only. Must be a public dataset. | |
| */ | |
| previewDataset: "lrigamai/previews" as string | null, | |
| /** | |
| * Character key overrides, for when one person's files are named differently across models: | |
| * lowercased display name → the key to group under, e.g. { "belle_d": "belledelphine" }. | |
| */ | |
| aliases: {} as Record<string, string>, | |
| /** Credit line in the hero; `null` hides it. */ | |
| trainer: { name: "ZenTrainer", url: "https://github.com/Nynxz/ZenTrainer" } as { name: string; url: string } | null, | |
| }; | |