Spaces:
Sleeping
Sleeping
File size: 976 Bytes
7d4db27 dd65f93 7d4db27 dd65f93 7d4db27 dd65f93 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
"""
Copyright (c) 2025 Xposed73
All rights reserved.
This file is part of the Manim Voiceover project.
DEPRECATED: This file is deprecated. Use ElevenLabsService from src.utils.elevenlabs_voiceover instead.
This wrapper is maintained for backward compatibility only.
"""
import warnings
from src.utils.elevenlabs_voiceover import ElevenLabsService
class KokoroService(ElevenLabsService):
"""
DEPRECATED: Backward compatibility wrapper for ElevenLabsService.
This class now redirects to ElevenLabsService. Please update your code to use:
from src.utils.elevenlabs_voiceover import ElevenLabsService
"""
def __init__(self, **kwargs):
warnings.warn(
"KokoroService is deprecated. Please use ElevenLabsService from "
"src.utils.elevenlabs_voiceover instead.",
DeprecationWarning,
stacklevel=2
)
# Pass all arguments to ElevenLabsService
super().__init__(**kwargs) |