Spaces:
Runtime error
Runtime error
metadata
title: Chain Of Zoom
emoji: 🐠
colorFrom: gray
colorTo: pink
sdk: docker
pinned: false
Chain-of-Zoom: Extreme Image Super-Resolution Demo
This Space runs the Chain-of-Zoom model for extreme image super-resolution, optimized for both CPU and GPU environments.
Setup Instructions
- Set HF_TOKEN: Add a valid Hugging Face access token as
HF_TOKEN
in the Space's secrets to access gated models (bryandmc/Chain-of-Zoom
,stabilityai/stable-diffusion-3-medium-diffusers
). - CPU/GPU Compatibility:
- For CPU: Use the default
python:3.10-slim
base image. - For GPU: Build with
--build-arg BASE_IMAGE=nvidia/cuda:11.8.0-cudnn8-runtime-ubuntu20.04
and updaterequirements.txt
to usetorch==2.1.0+cu118
, etc.
- For CPU: Use the default
- Commit Hash: Ensure the
Chain-of-Zoom
repository is pinned to a valid commit (e.g.,a1b2c3d
) in the Dockerfile.
Usage
Upload an image, select a magnification factor (2x-16x), provide an optional caption, and set a seed. The process may be slow on CPU.
Check the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference