gen-tu39olwd / config.py
raidensreturn's picture
Deploy Gradio app with multiple files
aef244e verified
raw
history blame contribute delete
959 Bytes
APP_TITLE = "Stable Diffusion 2.1 Turbocharged"
APP_DESCRIPTION = (
"Generate stunning visuals using the `Comfy-Org/stable_diffusion_2.1_repackaged` weights with ZeroGPU AoT acceleration."
)
MODEL_ID = "Comfy-Org/stable_diffusion_2.1_repackaged"
DEFAULT_PROMPT = "A futuristic city skyline at sunset, ultra detailed, cinematic lighting"
DEFAULT_NEGATIVE_PROMPT = "blurry, low quality, distorted, watermark"
DEFAULT_GUIDANCE = 7.5
DEFAULT_NUM_STEPS = 30
DEFAULT_WIDTH = 768
DEFAULT_HEIGHT = 512
DEFAULT_NUM_IMAGES = 2
DEFAULT_SEED = -1
MIN_GUIDANCE = 1.0
MAX_GUIDANCE = 15.0
MIN_NUM_STEPS = 10
MAX_NUM_STEPS = 50
MAX_WIDTH = 1024
MAX_HEIGHT = 1024
MAX_NUM_IMAGES = 4
EXAMPLE_PROMPTS = [
"A watercolor painting of a cozy reading nook with plants",
"An astronaut riding a horse on Mars in vibrant comic style",
"Dark fantasy castle on a cliff, volumetric fog, dramatic lighting",
"Macro photograph of a dew-covered flower, ultra sharp",
]