lea97338 commited on
Commit
02c0e0c
·
verified ·
1 Parent(s): 35ac99a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,6 +1,7 @@
 
1
  import os, torch, gradio as gr
2
  from diffusers import StableDiffusionPipeline, StableDiffusionImg2ImgPipeline
3
- import spaces
4
 
5
  # --- CSS Sombre ultra-compact ---
6
  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;}"
 
1
+ import spaces
2
  import os, torch, gradio as gr
3
  from diffusers import StableDiffusionPipeline, StableDiffusionImg2ImgPipeline
4
+
5
 
6
  # --- CSS Sombre ultra-compact ---
7
  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;}"