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
d32d1b48
Commit
d32d1b48
authored
Jul 04, 2025
by
GoatWu
Browse files
fix: add noqa comments for necessary module imports
parent
2d823f25
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
app/gradio_demo.py
app/gradio_demo.py
+2
-2
app/gradio_demo_zh.py
app/gradio_demo_zh.py
+2
-2
No files found.
app/gradio_demo.py
View file @
d32d1b48
...
@@ -14,8 +14,8 @@ from pathlib import Path
...
@@ -14,8 +14,8 @@ from pathlib import Path
module_path
=
str
(
Path
(
__file__
).
resolve
().
parent
.
parent
)
module_path
=
str
(
Path
(
__file__
).
resolve
().
parent
.
parent
)
sys
.
path
.
append
(
module_path
)
sys
.
path
.
append
(
module_path
)
from
lightx2v.infer
import
init_runner
from
lightx2v.infer
import
init_runner
# noqa: E402
from
lightx2v.utils.envs
import
*
from
lightx2v.utils.envs
import
*
# noqa: E402
# advance_ptq
# advance_ptq
logger
.
add
(
logger
.
add
(
...
...
app/gradio_demo_zh.py
View file @
d32d1b48
...
@@ -14,8 +14,8 @@ from pathlib import Path
...
@@ -14,8 +14,8 @@ from pathlib import Path
module_path
=
str
(
Path
(
__file__
).
resolve
().
parent
.
parent
)
module_path
=
str
(
Path
(
__file__
).
resolve
().
parent
.
parent
)
sys
.
path
.
append
(
module_path
)
sys
.
path
.
append
(
module_path
)
from
lightx2v.infer
import
init_runner
from
lightx2v.infer
import
init_runner
# noqa: E402
from
lightx2v.utils.envs
import
*
from
lightx2v.utils.envs
import
*
# noqa: E402
# advance_ptq
# advance_ptq
logger
.
add
(
logger
.
add
(
...
...
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