Refactor model loading in generate.py to use dynamic model paths for audio and video components. Simplify weight loading logic in LTX2TextEncoder to accommodate both monolithic and reformatted model structures. Introduce a check for existing model paths in get_model_path function to enhance robustness.
This commit is contained in:
3
mlx_video/components/__init__.py
Normal file
3
mlx_video/components/__init__.py
Normal file
@@ -0,0 +1,3 @@
|
||||
from .smart_turn import Model, ModelConfig
|
||||
|
||||
__all__ = ["Model", "ModelConfig"]
|
||||
Reference in New Issue
Block a user