diff --git a/src/ai_models/model.py b/src/ai_models/model.py index 19b0d92..7525c9d 100644 --- a/src/ai_models/model.py +++ b/src/ai_models/model.py @@ -326,7 +326,12 @@ def _print_request(self, verb, request, file=sys.stdout): for k, v in sorted(request.items()): if not isinstance(v, (list, tuple, set)): v = [v] - v = [str(_) for _ in sorted(v)] + + if k in ("area", "grid", "frame", "rotation", "bitmap"): + v = [str(_) for _ in v] + else: + v = [str(_) for _ in sorted(v)] + v = "/".join(v) r.append(f"{k}={v}")