Update app.py
Browse files123456import os, torch, gradio as grfrom diffusers import StableDiffusionPipeline, StableDiffusionImg2ImgPipelineimport spaces# --- CSS Sombre ultra-compact ---css = "* {font-family: sans-serif;} .gradio-container {max-width:950px!important; padding:10px!important;} .box {background:#161b22!important; border:1px solid #30363d!important; border-radius:8px!important; padding:12px!important;} .btn {background:linear-gradient(135deg,#2563eb,#1d4ed8)!important; color:white!important; font-weight:600!important;} input, select, textarea {background:#0d1117!important; color:#fff!important; border:1px solid #30363d!important;}"1234567import spacesimport os, torch, gradio as grfrom diffusers import StableDiffusionPipeline, StableDiffusionImg2ImgPipeline# --- CSS Sombre ultra-compact ---css = "* {font-family: sans-serif;} .gradio-container {max-width:950px!important; padding:10px!important;} .box {background:#161b22!important; border:1px solid #30363d!important; border-radius:8px!important; padding:12px!important;} .btn {background:linear-gradient(135deg,#2563eb,#1d4ed8)!important; color:white!important; font-weight:600!important;} input, select, textarea {background:#0d1117!important; color:#fff!important; border:1px solid #30363d!important;}"
app.py+2-1