Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
8a326c2
1
Parent(s):
a983d4e
Document all changes from original FLUX.1-dev repo
Browse filesAdded comprehensive documentation covering:
- Core functionality changes (Picasso-style prompt enhancement)
- UI/UX improvements (layout, sliders, examples)
- Technical improvements (GPU stability, error handling)
- Format changes (PNG downloads)
- Usage instructions and original source attribution
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
README.md
CHANGED
@@ -9,8 +9,61 @@ app_file: app.py
|
|
9 |
pinned: false
|
10 |
---
|
11 |
|
12 |
-
# FLUX.1-dev
|
13 |
|
14 |
Generate high-quality images in Pablo Picasso's distinctive cubist style using the FLUX.1-dev model from Black Forest Labs.
|
15 |
|
16 |
-
This is a
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
pinned: false
|
10 |
---
|
11 |
|
12 |
+
# FLUX.1-dev Picasso Edition
|
13 |
|
14 |
Generate high-quality images in Pablo Picasso's distinctive cubist style using the FLUX.1-dev model from Black Forest Labs.
|
15 |
|
16 |
+
This is a specialized version of the original [FLUX.1-dev Space](https://huggingface.co/spaces/black-forest-labs/FLUX.1-dev) customized for Picasso-style art generation.
|
17 |
+
|
18 |
+
## Features
|
19 |
+
|
20 |
+
- **Automatic Picasso-style prompt enhancement** - adds cubist, geometric, and bold color descriptors
|
21 |
+
- **Optimized UI layout** - improved slider positioning and descriptions
|
22 |
+
- **User-friendly error messages** - helpful feedback instead of technical errors
|
23 |
+
- **PNG download format** - better compatibility than WebP
|
24 |
+
- **Example prompts** - one-click access to curated Picasso-style examples
|
25 |
+
|
26 |
+
## Changes from Original FLUX.1-dev
|
27 |
+
|
28 |
+
### Core Functionality
|
29 |
+
- **Prompt Enhancement**: All prompts automatically enhanced with Picasso-style descriptors:
|
30 |
+
- "in the style of Pablo Picasso, cubist painting, abstract art, geometric shapes, fragmented forms, bold colors"
|
31 |
+
- **Title**: Changed from "FLUX.1-dev" to "FLUX.1-dev Picasso Edition"
|
32 |
+
|
33 |
+
### UI/UX Improvements
|
34 |
+
- **Layout Optimization**:
|
35 |
+
- Model attribution moved below subtitle without "Model Attribution:" label
|
36 |
+
- Guidance Scale and Inference Steps slider positions swapped
|
37 |
+
- Status box height reduced from 6 to 3 lines
|
38 |
+
|
39 |
+
- **Slider Descriptions**: Enhanced two-line descriptions explaining higher/lower values:
|
40 |
+
- Guidance Scale: "Higher values = more faithful to prompt / Lower values = more creative interpretation"
|
41 |
+
- Inference Steps: "Higher values = better quality but slower / Lower values = faster but less refined"
|
42 |
+
|
43 |
+
- **Example Buttons**:
|
44 |
+
- Show full enhanced prompts in text field (not just simple prompts)
|
45 |
+
- No auto-generation - users review prompt before generating
|
46 |
+
- 5 curated example prompts for common Picasso subjects
|
47 |
+
|
48 |
+
### Technical Improvements
|
49 |
+
- **GPU Stability**: Increased duration from default to 100 seconds
|
50 |
+
- **Memory Management**: Added `torch.cuda.empty_cache()` after generation
|
51 |
+
- **Device Handling**: Proper device variable usage with CUDA availability checks
|
52 |
+
- **Error Handling**: User-friendly messages with emojis and actionable guidance:
|
53 |
+
- GPU issues: "🔄 GPU temporarily unavailable. Please try again in a moment!"
|
54 |
+
- Timeouts: "⏱️ Generation timed out. Please try again with fewer inference steps or try again later!"
|
55 |
+
- Model loading: "🚀 Loading AI model... Please wait a moment and try again!"
|
56 |
+
|
57 |
+
### Format Changes
|
58 |
+
- **Image Downloads**: Set to PNG format instead of WebP for better compatibility
|
59 |
+
|
60 |
+
## Usage
|
61 |
+
|
62 |
+
1. Enter a prompt describing what you want to see
|
63 |
+
2. Adjust Guidance Scale (prompt adherence) and Inference Steps (quality vs speed)
|
64 |
+
3. Click "Generate Picasso-Style Image" or use example prompts
|
65 |
+
4. Download results in PNG format
|
66 |
+
|
67 |
+
## Original Source
|
68 |
+
|
69 |
+
Based on the original [FLUX.1-dev Space](https://huggingface.co/spaces/black-forest-labs/FLUX.1-dev) by Black Forest Labs.
|