mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-11-18 22:01:24 +01:00
update to sdk 0.36 (for testing..)
This commit is contained in:
@@ -43,7 +43,7 @@ class TextGenerationHuggingChat(DVMTaskInterface):
|
||||
request_form = {"jobID": event.id().to_hex() + "_" + self.NAME.replace(" ", "")}
|
||||
prompt = ""
|
||||
|
||||
for tag in event.tags():
|
||||
for tag in event.tags().to_vec():
|
||||
if tag.as_vec()[0] == 'i':
|
||||
input_type = tag.as_vec()[2]
|
||||
if input_type == "text":
|
||||
|
||||
Reference in New Issue
Block a user