mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-11-19 20:56:26 +01:00
Update texttospeech.py
This commit is contained in:
@@ -38,7 +38,7 @@ class TextToSpeech(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
|
||||||
elif tag.as_vec()[0] == 'param':
|
elif tag.as_vec()[0] == 'param':
|
||||||
param = tag.as_vec()[1]
|
param = tag.as_vec()[1]
|
||||||
|
|||||||
Reference in New Issue
Block a user