Fix model mapping for FLux Krea

This commit is contained in:
Sirshendu Ganguly
2025-08-06 11:03:24 -04:00
parent 087ff66c49
commit 4d74f59820
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -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",
+1 -1
View File
@@ -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",
+3 -3
View File
@@ -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: