SnapClean / config.py
sab
fix layout
2f454d5
# config.py
# Default values for the parameters
DEFAULT_NEGATIVE_PROMPT = ""
DEFAULT_CONTROLNET_CONDITIONING_SCALE = 0.9
DEFAULT_GUIDANCE_SCALE = 3.5
DEFAULT_SEED = 124
DEFAULT_NUM_INFERENCE_STEPS = 24
DEFAULT_TRUE_GUIDANCE_SCALE = 3.5
BUY_ME_A_COFFE = """
<a href="https://buymeacoffee.com/thesab" target="_blank">
<button style="background-color: #FFDD00; border: none; color: black; padding: 10px 20px; text-align: center; text-decoration: none; display: inline-block; font-size: 16px; margin: 4px 2px; cursor: pointer; border-radius: 10px;">
☕ Buy Me a Coffee
</button>
</a>
"""
DESCRIPTION = f"""
<div style="max-width: 600px; margin: auto; font-family: Arial, sans-serif; color: #333;">
<h1 style="text-align: center; color: #fff;">🧽🫧Snap Clean!</h1>
<p style="text-align: center; font-size: 1.1em; line-height: 1.6;">
Remove Unwanted Objects from Photos.
</p>
<p style="text-align: left; font-size: 1.1em; line-height: 2.6;">
1. Upload the photo with the object you want to remove.<br>
2. Select the "Draw" button.<br>
3. Color over the part of the photo that you want to remove.<br>
4. Click the "Submit" button.<br>
5. Watch the magic happen!
</p>
<p style="text-align: right; font-size: 1.1em; line-height: 1.1;">
{BUY_ME_A_COFFE}
<p>
</div>
"""