cheesechaser.datapool.civitai

This module provides a data pool implementation for Civitai, a platform for AI-generated art and models.

The CivitaiDataPool class extends the IncrementIDDataPool to specifically handle data from Civitai. It uses a predefined repository to store and retrieve data.

CivitaiDataPool

class cheesechaser.datapool.civitai.CivitaiDataPool(revision: str = 'main')[source]

A data pool class specifically designed for handling Civitai data.

This class extends the IncrementIDDataPool to provide a convenient way to access and manage data from the Civitai platform. It uses a predefined repository to store both the data and the index information.

Parameters:

revision (str) – The specific revision of the data to use, defaults to ‘main’.

Usage:
>>> civitai_pool = CivitaiDataPool()
__init__(revision: str = 'main')[source]

Initialize the CivitaiDataPool with the specified revision.

Parameters:

revision (str) – The specific revision of the data to use, defaults to ‘main’.