diff --git a/scripts/fabric_utils.py b/scripts/fabric_utils.py index b410285..57589f1 100644 --- a/scripts/fabric_utils.py +++ b/scripts/fabric_utils.py @@ -15,7 +15,7 @@ def _maybe_load_json(d, key, default=None): return json.loads(d.get(key)) except Exception as e: traceback.print_exc() - print(f"Failed to load JSON: {d.get(key)}") + print(f"[FABRIC] Failed to load JSON: {d.get(key)}") return default # helper functions for loading saved params @@ -27,7 +27,7 @@ def parse_feedback_info(d, store: ImageStore): infos = [create_image_info(**info) for info in infos] except Exception as e: traceback.print_exc() - print(f"Failed to parse image infos: {infos}") + print(f"[FABRIC] Failed to parse image infos: {infos}") return None elif "fabric_pos_images" in d or "fabric_neg_images" in d: # <0.7.0 (old format)