handling dependencies

This commit is contained in:
Believethehype
2023-12-15 10:15:28 +01:00
parent 2c1797c911
commit d3501a6e3f
8 changed files with 10 additions and 8 deletions

View File

@@ -27,7 +27,7 @@ class SpeechToTextGoogle(DVMTaskInterface):
TASK: str = "speech-to-text"
FIX_COST: float = 10
PER_UNIT_COST: float = 0.1
dependencies = ["SpeechRecognition==3.10.0"]
dependencies = [("speech_recognition", "SpeechRecognition==3.10.0")]
def __init__(self, name, dvm_config: DVMConfig, nip89config: NIP89Config,
admin_config: AdminConfig = None, options=None):