Update app.py
Browse files
app.py
CHANGED
|
@@ -106,6 +106,13 @@ _I2V_SYSTEM_PROMPT = (
|
|
| 106 |
" chatter and the light clinking of cups on saucers."
|
| 107 |
)
|
| 108 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 109 |
_ENHANCE_MARKER = "LTX2_I2V_SYSTEM_PROMPT"
|
| 110 |
_patched_count = 0
|
| 111 |
for _f in _py_files:
|
|
|
|
| 106 |
" chatter and the light clinking of cups on saucers."
|
| 107 |
)
|
| 108 |
|
| 109 |
+
import glob
|
| 110 |
+
import re as _re
|
| 111 |
+
|
| 112 |
+
_py_files = glob.glob(
|
| 113 |
+
str(pathlib.Path(LTX_REPO_DIR) / "packages/ltx-core/src/**/*.py"),
|
| 114 |
+
recursive=True
|
| 115 |
+
)
|
| 116 |
_ENHANCE_MARKER = "LTX2_I2V_SYSTEM_PROMPT"
|
| 117 |
_patched_count = 0
|
| 118 |
for _f in _py_files:
|