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
07ae299d
Commit
07ae299d
authored
Jul 28, 2025
by
gushiqiao
Browse files
Remove unused paths
parent
65dfa2f7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
5 deletions
+7
-5
app/gradio_demo.py
app/gradio_demo.py
+3
-2
app/gradio_demo_zh.py
app/gradio_demo_zh.py
+3
-2
app/run_gradio.sh
app/run_gradio.sh
+1
-1
No files found.
app/gradio_demo.py
View file @
07ae299d
...
@@ -210,8 +210,9 @@ def get_quantization_options(model_path):
...
@@ -210,8 +210,9 @@ def get_quantization_options(model_path):
choices
.
append
(
int8_type
)
choices
.
append
(
int8_type
)
# If no subdirectories but original file exists, add original type
# If no subdirectories but original file exists, add original type
if
not
choices
and
has_original_file
:
if
has_original_file
:
choices
.
append
(
original_type
)
if
not
choices
or
"original"
not
in
choices
:
choices
.
append
(
original_type
)
# If no options at all, use default value
# If no options at all, use default value
if
not
choices
:
if
not
choices
:
...
...
app/gradio_demo_zh.py
View file @
07ae299d
...
@@ -212,8 +212,9 @@ def get_quantization_options(model_path):
...
@@ -212,8 +212,9 @@ def get_quantization_options(model_path):
choices
.
append
(
int8_type
)
choices
.
append
(
int8_type
)
# 如果没有子目录但有原始文件,添加原始类型
# 如果没有子目录但有原始文件,添加原始类型
if
not
choices
and
has_original_file
:
if
has_original_file
:
choices
.
append
(
original_type
)
if
not
choices
or
"original"
not
in
choices
:
choices
.
append
(
original_type
)
# 如果没有任何选项,使用默认值
# 如果没有任何选项,使用默认值
if
not
choices
:
if
not
choices
:
...
...
app/run_gradio.sh
View file @
07ae299d
...
@@ -18,7 +18,7 @@ lightx2v_path=/data/video_gen/LightX2V
...
@@ -18,7 +18,7 @@ lightx2v_path=/data/video_gen/LightX2V
# Model path configuration
# Model path configuration
# Image-to-video model path (for i2v tasks)
# Image-to-video model path (for i2v tasks)
# Example: /path/to/Wan2.1-I2V-14B-720P-Lightx2v
# Example: /path/to/Wan2.1-I2V-14B-720P-Lightx2v
i2v_model_path
=
/
wan_0726/wan_test/fp8
i2v_model_path
=
/
path/to/Wan2.1-I2V-14B-480P-Lightx2v
# Text-to-video model path (for t2v tasks)
# Text-to-video model path (for t2v tasks)
# Example: /path/to/Wan2.1-T2V-1.3B
# Example: /path/to/Wan2.1-T2V-1.3B
...
...
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