mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-23 14:12:11 -03:00
26 lines
529 B
JavaScript
26 lines
529 B
JavaScript
import { renderTemplate } from './domFixtures.js';
|
|
|
|
/**
|
|
* Renders the LoRAs page template with expected dataset attributes.
|
|
* @returns {Element}
|
|
*/
|
|
export function renderLorasPage() {
|
|
return renderTemplate('loras.html', {
|
|
dataset: {
|
|
page: 'loras',
|
|
},
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Renders the Checkpoints page template with expected dataset attributes.
|
|
* @returns {Element}
|
|
*/
|
|
export function renderCheckpointsPage() {
|
|
return renderTemplate('checkpoints.html', {
|
|
dataset: {
|
|
page: 'checkpoints',
|
|
},
|
|
});
|
|
}
|