3v324v23's picture
Зафиксирована рабочая версия TEN-Agent для HuggingFace Space
87337b1
raw
history blame contribute delete
582 Bytes
#
# This file is part of TEN Framework, an open source project.
# Licensed under the Apache License, Version 2.0.
# See the LICENSE file for more information.
#
from ten import (
Addon,
register_addon_as_extension,
TenEnv,
)
@register_addon_as_extension("minimax_v2v_python")
class MinimaxV2VExtensionAddon(Addon):
def on_create_instance(self, ten_env: TenEnv, name: str, context) -> None:
from .extension import MinimaxV2VExtension
ten_env.log_info("on_create_instance")
ten_env.on_create_instance_done(MinimaxV2VExtension(name), context)