From 4d74f59820ad59af31176536118380f7e9f0374c Mon Sep 17 00:00:00 2001 From: Sirshendu Ganguly Date: Wed, 6 Aug 2025 11:03:24 -0400 Subject: [PATCH] Fix model mapping for FLux Krea --- clientlibs/types.js | 2 +- modules/modelSearch.py | 2 +- modules/utils/runwareUtils.py | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/clientlibs/types.js b/clientlibs/types.js index 1ac924b..16f4a0a 100644 --- a/clientlibs/types.js +++ b/clientlibs/types.js @@ -13,7 +13,7 @@ const DEFAULT_MODELS_ARCH_LIST = { "All": "all", "FLUX.1-Schnell": "flux1s", "FLUX.1-Dev": "flux1d", - "FLUX.1 Krea": "flux1k", + "FLUX.1-Krea": "flux1d", "Pony": "pony", "SD 1.5": "sd1x", "SD 1.5 Hyper": "sdhyper", diff --git a/modules/modelSearch.py b/modules/modelSearch.py index dc4ff5e..c2066a5 100644 --- a/modules/modelSearch.py +++ b/modules/modelSearch.py @@ -10,7 +10,7 @@ class modelSearch: "All", "FLUX.1-Schnell", "FLUX.1-Dev", - "FLUX.1 Krea", + "FLUX.1-Krea", "Pony", "SD 1.5", "SD 1.5 Hyper", diff --git a/modules/utils/runwareUtils.py b/modules/utils/runwareUtils.py index a538e6a..d7d5186 100644 --- a/modules/utils/runwareUtils.py +++ b/modules/utils/runwareUtils.py @@ -26,7 +26,7 @@ IMAGE_CACHE_FILE = BASEFOLDER / "imagesCache.json" if not IMAGE_CACHE_FILE.exists(): with open(IMAGE_CACHE_FILE, "w") as f: - print("[Debugging] Initializing images cache...") + print("[Runware] Initializing images cache...") json.dump({}, f) RUNWARE_REMBG_OUTPUT_FORMATS = { @@ -53,7 +53,7 @@ def generalRequestWrapper(recaller, *args, **kwargs): raise else: cooldown = RETRY_COOLDOWNS[attempt] - print(f"[Warning] Error API Request Failed! Retrying in {cooldown} seconds... (Attempt {attempt+1}/{MAX_RETRIES})") + print(f"[Runware] Error API Request Failed! Retrying in {cooldown} seconds... (Attempt {attempt+1}/{MAX_RETRIES})") time.sleep(cooldown) continue return False @@ -484,7 +484,7 @@ class VideoObject: while True: try: response = requests.get(self.video_url, stream=True, timeout=30) - print(f"[Debugging] Response: {response}") + print(response) if response.status_code == 422: