From aaf28c0ede3b3eda384cc1de50531aa9f528e339 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 25 May 2026 21:15:22 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- studio/backend/routes/inference.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/studio/backend/routes/inference.py b/studio/backend/routes/inference.py index f1345aa8cd..ea88bba54d 100644 --- a/studio/backend/routes/inference.py +++ b/studio/backend/routes/inference.py @@ -274,14 +274,14 @@ _ARTIFACT_PREVIEW_FRAME_HTML = """ """ -@studio_router.get("/artifact-preview-frame", include_in_schema=False) +@studio_router.get("/artifact-preview-frame", include_in_schema = False) async def artifact_preview_frame(): """Serve the opaque sandbox shell used for client-side HTML artifacts.""" return Response( - content=_ARTIFACT_PREVIEW_FRAME_HTML, - media_type="text/html; charset=utf-8", - headers={ + content = _ARTIFACT_PREVIEW_FRAME_HTML, + media_type = "text/html; charset=utf-8", + headers = { "Cache-Control": "no-store", "Content-Security-Policy": _ARTIFACT_PREVIEW_FRAME_CSP, "Referrer-Policy": "no-referrer",