Spaces:
Runtime error
Runtime error
Remove default branch assignment for layered image type in _resolve_musubi_target function in app.py. This change simplifies branch handling by eliminating the automatic assignment of a specific branch when no branch is set, enhancing clarity in target resolution logic.
Browse files
app.py
CHANGED
|
@@ -71,8 +71,6 @@ def _resolve_musubi_target(image_type: str) -> Tuple[str, str]:
|
|
| 71 |
target = "/musubi-tuner-layered" if image_type == "layered" else "/musubi-tuner"
|
| 72 |
|
| 73 |
branch = os.environ.get("MUSUBI_TUNER_BRANCH", "").strip()
|
| 74 |
-
if not branch and image_type == "layered":
|
| 75 |
-
branch = "feat-qwen-image-layered"
|
| 76 |
return target, branch
|
| 77 |
|
| 78 |
|
|
|
|
| 71 |
target = "/musubi-tuner-layered" if image_type == "layered" else "/musubi-tuner"
|
| 72 |
|
| 73 |
branch = os.environ.get("MUSUBI_TUNER_BRANCH", "").strip()
|
|
|
|
|
|
|
| 74 |
return target, branch
|
| 75 |
|
| 76 |
|