Fix model mapping for FLux Krea
This commit is contained in:
+1
-1
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user