Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
xuwx1
LightX2V
Commits
e251e4dc
Unverified
Commit
e251e4dc
authored
Sep 25, 2025
by
gushiqiao
Committed by
GitHub
Sep 25, 2025
Browse files
support old r2v model (#337)
parent
4929cd02
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lightx2v/models/runners/wan/wan_audio_runner.py
lightx2v/models/runners/wan/wan_audio_runner.py
+1
-1
No files found.
lightx2v/models/runners/wan/wan_audio_runner.py
View file @
e251e4dc
...
...
@@ -787,7 +787,7 @@ class WanAudioRunner(WanRunner): # type:ignore
return
base_model
def
load_audio_encoder
(
self
):
audio_encoder_path
=
os
.
path
.
join
(
self
.
config
[
"model_path"
],
"TencentGameMate-chinese-hubert-large"
)
audio_encoder_path
=
self
.
config
.
get
(
"audio_encoder_path"
,
os
.
path
.
join
(
self
.
config
[
"model_path"
],
"TencentGameMate-chinese-hubert-large"
)
)
audio_encoder_offload
=
self
.
config
.
get
(
"audio_encoder_cpu_offload"
,
self
.
config
.
get
(
"cpu_offload"
,
False
))
model
=
SekoAudioEncoderModel
(
audio_encoder_path
,
self
.
config
[
"audio_sr"
],
audio_encoder_offload
)
return
model
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment