mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-11-18 20:26:34 +01:00
add client, config to input_supported
This commit is contained in:
@@ -34,7 +34,7 @@ class ImageGenerationDALLE(DVMTaskInterface):
|
||||
dvm_config.SCRIPT = os.path.abspath(__file__)
|
||||
super().__init__(name, dvm_config, nip89config, admin_config, options)
|
||||
|
||||
def is_input_supported(self, tags):
|
||||
def is_input_supported(self, tags, client=None, dvm_config=None):
|
||||
for tag in tags:
|
||||
if tag.as_vec()[0] == 'i':
|
||||
input_value = tag.as_vec()[1]
|
||||
|
||||
Reference in New Issue
Block a user