mirror of
https://github.com/aljazceru/nostrdvm.git
synced 2025-12-20 15:34:26 +01:00
adaptions to sdk 0.11.0
This commit is contained in:
@@ -67,7 +67,7 @@ class TextSummarizationHuggingChat(DVMTaskInterface):
|
||||
print("Event not found")
|
||||
raise Exception
|
||||
|
||||
if evt.kind().as_u64() == EventDefinitions.KIND_NIP90_RESULT_CONTENT_DISCOVERY:
|
||||
if evt.kind() == EventDefinitions.KIND_NIP90_RESULT_CONTENT_DISCOVERY:
|
||||
result_list = json.loads(evt.content())
|
||||
prompt = ""
|
||||
for tag in result_list:
|
||||
|
||||
Reference in New Issue
Block a user