mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-10-10 22:52:30 +02:00
allow other inputs for summarization
This commit is contained in:
@@ -34,7 +34,7 @@ class TextSummarizationHuggingChat(DVMTaskInterface):
|
|||||||
if tag.as_vec()[0] == 'i':
|
if tag.as_vec()[0] == 'i':
|
||||||
input_value = tag.as_vec()[1]
|
input_value = tag.as_vec()[1]
|
||||||
input_type = tag.as_vec()[2]
|
input_type = tag.as_vec()[2]
|
||||||
if input_type != "text":
|
if input_type != "event" and input_type != "job" and input_type != "text":
|
||||||
return False
|
return False
|
||||||
|
|
||||||
return True
|
return True
|
||||||
|
Reference in New Issue
Block a user