fixes, allow sats below 1

This commit is contained in:
Believethehype
2023-11-28 17:13:42 +01:00
parent e8d0a945d5
commit e1c09e9e7e
11 changed files with 20 additions and 14 deletions

View File

@@ -25,7 +25,7 @@ Params: -model # models: juggernaut, dynavision, colossusProject, newrea
class ImageGenerationDALLE(DVMTaskInterface):
KIND: int = EventDefinitions.KIND_NIP90_GENERATE_IMAGE
TASK: str = "text-to-image"
COST: int = 120
COST: float = 120
def __init__(self, name, dvm_config: DVMConfig, nip89config: NIP89Config,
admin_config: AdminConfig = None, options=None):