This commit is contained in:
vladislav 2026-08-30 22:03:41 -04:00
parent ed2f8c05a4
commit 9ec170678e
Signed by: Vladislav
GPG Key ID: D97C9E5E4860EE45
3 changed files with 2 additions and 8 deletions

View File

@ -3022,8 +3022,6 @@
"metadata": {},
"outputs": [],
"source": [
"\n",
"\n",
"@app.get(\"/form/exhibition/{exhibition_id}\", response_class=HTMLResponse)\n",
"async def form_exhibition(\n",
" request: Request,\n",
@ -3058,8 +3056,7 @@
" background_tasks.add_task(logo_user_task, bson_clear(current_user))\n",
" return {'ok': True}\n",
" except Exception as e:\n",
" raise HTTPException(status_code=500, detail=str(e))\n",
"\n"
" raise HTTPException(status_code=500, detail=str(e))\n"
],
"display_name": ".venv"
},

View File

@ -2238,8 +2238,6 @@ async def form_exhibition(
request=request, name="form/exhibition.html", context={"id": 1, "user": user}
)
@app.get("/form/exhibition/{exhibition_id}", response_class=HTMLResponse)
async def form_exhibition(
request: Request,
@ -2268,7 +2266,6 @@ async def avatar_change(
raise HTTPException(status_code=500, detail=str(e))
@app.put("/api/user/form", response_model=dict)
async def user_form(
request: Request,

View File

@ -352,7 +352,7 @@ def is_safe_redirect(next_url: str) -> bool:
return False
async def build_composite(data, scale: float = 1.5, new_w: int = 500, GaussianBlur_radius: int = 10):
async def build_composite(data, scale: float = 1.5, new_w: int = 500, GaussianBlur_radius: int = 80):
src_img = Image.open(BytesIO(data)).convert('RGB')
# --------------------------------------------------------------