morinousagi commited on
Commit
0671f7e
·
verified ·
1 Parent(s): a36fe68

Upload 2 files

Browse files
Files changed (2) hide show
  1. README.md +2 -2
  2. app.py +1 -1
README.md CHANGED
@@ -12,8 +12,8 @@ pinned: false
12
 
13
  This demo is an AI-assisted development using **Claude Sonnet 5**.
14
 
15
- Restores low-resolution, noisy, low-light CCTV/security camera frames using the pretrained **Stable Diffusion x4 Upscaler** (`stabilityai/stable-diffusion-x4-upscaler`). Runs on CPU.
16
 
17
  Upload a low-quality frame, adjust the prompt/steps if you like, and get a 4x upscaled, denoised, sharpened result.
18
 
19
- **Note:** CPU inference takes roughly 1-3 minutes per image depending on step count. Input images are resized so their longest side is ≤128px before upscaling, matching the resolution the model was trained on.
 
12
 
13
  This demo is an AI-assisted development using **Claude Sonnet 5**.
14
 
15
+ Restores low-resolution, noisy, low-light CCTV/security camera frames using the pretrained **Stable Diffusion x4 Upscaler** (`stabilityai/stable-diffusion-x4-upscaler`).
16
 
17
  Upload a low-quality frame, adjust the prompt/steps if you like, and get a 4x upscaled, denoised, sharpened result.
18
 
19
+ **Note:** Input images are resized so their longest side is ≤128px before upscaling, matching the resolution the model was trained on. For CPU inference, it may take 1-3 minutes per image.
app.py CHANGED
@@ -57,7 +57,7 @@ demo = gr.Interface(
57
  title="CCTV Frame Restoration with Stable Diffusion x4 Upscaler",
58
  description=(
59
  "Diffusion-based super-resolution for low-quality surveillance frames. "
60
- "Runs on CPU; each image takes roughly 1-3 minutes depending on step count."
61
  ),
62
  )
63
 
 
57
  title="CCTV Frame Restoration with Stable Diffusion x4 Upscaler",
58
  description=(
59
  "Diffusion-based super-resolution for low-quality surveillance frames. "
60
+ "The model was trained on 128x128 crops, so larger inputs are downscaled first. "
61
  ),
62
  )
63