Choiszt's picture
Update egogpt
c62903f
raw
history blame contribute delete
311 Bytes
from .speech_projector import EncoderProjectorConcat
def build_speech_projector(config):
projector_type = getattr(config, "speech_projector_type", "linear")
if projector_type == "linear":
return EncoderProjectorConcat(config)
raise ValueError(f"Unknown projector type: {projector_type}")