Spaces:
Sleeping
Sleeping
Add final GPU optimization tips and pipeline comparisons
Browse files- Add recommended settings (512px, animation on, upscaling off) at ~10-12s
- Specify ~20% GPU time savings for disabling animation
- Add Standard pipeline is ~2x faster than Artistic for quota management
- Note that color quantization has no GPU time impact
- Clarify pipeline trade-offs for user decision making
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
app.py
CHANGED
|
@@ -2565,7 +2565,8 @@ if __name__ == "__main__" and not os.environ.get("QR_TESTING_MODE"):
|
|
| 2565 |
- **Free authenticated users**: 210 seconds daily quota (~3-5 generations depending on settings).
|
| 2566 |
- **⚠️ Warning**: Large image sizes (1024px) with upscaling can take 120+ seconds! Use smaller sizes (512-768px) for better quota management.
|
| 2567 |
- **💡 Critical**: For large resolutions (832px+), **disable upscaling** to avoid exceeding quota. Upscaling has tremendous impact on GPU time.
|
| 2568 |
-
-
|
|
|
|
| 2569 |
|
| 2570 |
### Tips:
|
| 2571 |
- Use detailed prompts for better results
|
|
@@ -2573,13 +2574,13 @@ if __name__ == "__main__" and not os.environ.get("QR_TESTING_MODE"):
|
|
| 2573 |
- Choose **URL** mode for web links or **Plain Text** mode for VCARD, WiFi credentials, calendar events, etc.
|
| 2574 |
- Try the examples below for inspiration
|
| 2575 |
- **Animation** (enabled by default): Shows intermediate generation steps every 5 steps. Disable for faster generation. (Available in "Change Settings Manually")
|
| 2576 |
-
- **Color Quantization** (disabled by default): Optional feature to specify a custom color scheme (2-4 colors) for your QR code. Perfect for matching brand colors or creating themed designs with gradient variations. (Available in "Change Settings Manually")
|
| 2577 |
- **Upscale Image**: Enhances output quality with RealESRGAN (disabled by default to save GPU time). (Available in "Change Settings Manually")
|
| 2578 |
- **Copy/paste settings**: After generation, copy the JSON settings string that appears below the image and paste it into "Import Settings from JSON" to reproduce exact results or share with others
|
| 2579 |
|
| 2580 |
### Two Modes:
|
| 2581 |
- **Artistic QR** (New pipeline, default): More artistic and creative results with optional upscaling (slower, more creative, less scannable)
|
| 2582 |
-
- **Standard QR** (Old pipeline, more stable):
|
| 2583 |
|
| 2584 |
### Note:
|
| 2585 |
Larger image sizes may take longer to generate.
|
|
|
|
| 2565 |
- **Free authenticated users**: 210 seconds daily quota (~3-5 generations depending on settings).
|
| 2566 |
- **⚠️ Warning**: Large image sizes (1024px) with upscaling can take 120+ seconds! Use smaller sizes (512-768px) for better quota management.
|
| 2567 |
- **💡 Critical**: For large resolutions (832px+), **disable upscaling** to avoid exceeding quota. Upscaling has tremendous impact on GPU time.
|
| 2568 |
+
- **✅ Recommended**: Default settings (512px, animation enabled, upscaling disabled) provide best balance - nice quality preview at ~10-12 seconds.
|
| 2569 |
+
- **💡 Tip**: Disable animation to save ~20% GPU time and maximize your quota.
|
| 2570 |
|
| 2571 |
### Tips:
|
| 2572 |
- Use detailed prompts for better results
|
|
|
|
| 2574 |
- Choose **URL** mode for web links or **Plain Text** mode for VCARD, WiFi credentials, calendar events, etc.
|
| 2575 |
- Try the examples below for inspiration
|
| 2576 |
- **Animation** (enabled by default): Shows intermediate generation steps every 5 steps. Disable for faster generation. (Available in "Change Settings Manually")
|
| 2577 |
+
- **Color Quantization** (disabled by default): Optional feature to specify a custom color scheme (2-4 colors) for your QR code. Perfect for matching brand colors or creating themed designs with gradient variations. No GPU time impact. (Available in "Change Settings Manually")
|
| 2578 |
- **Upscale Image**: Enhances output quality with RealESRGAN (disabled by default to save GPU time). (Available in "Change Settings Manually")
|
| 2579 |
- **Copy/paste settings**: After generation, copy the JSON settings string that appears below the image and paste it into "Import Settings from JSON" to reproduce exact results or share with others
|
| 2580 |
|
| 2581 |
### Two Modes:
|
| 2582 |
- **Artistic QR** (New pipeline, default): More artistic and creative results with optional upscaling (slower, more creative, less scannable)
|
| 2583 |
+
- **Standard QR** (Old pipeline, more stable): ~2x faster than Artistic, more scannable output but less creative results. Great for quota management!
|
| 2584 |
|
| 2585 |
### Note:
|
| 2586 |
Larger image sizes may take longer to generate.
|