feat: sum

This commit is contained in:
superobk
2024-03-20 10:39:53 +08:00
parent f14c36d77a
commit e914aeee32
3 changed files with 27 additions and 0 deletions

View File

@ -1,3 +1,4 @@
from .sum import SUM
from .sentiment import Sentiment
from .tts import TTS
from ..asr.asr import ASR
@ -27,4 +28,6 @@ class BlackboxFactory:
return self.tts
if blackbox_name == "sentiment_engine":
return self.sentiment
if blackbox_name == "sum":
return SUM()
raise ValueError("Invalid blockbox type")