Spaces:
Running on Zero
Running on Zero
Update app_v4.py
Browse files
app_v4.py
CHANGED
|
@@ -32,7 +32,7 @@ presets = {
|
|
| 32 |
"steps": 6,
|
| 33 |
"controlnet_conditioning_scale": 0.62,
|
| 34 |
"guidance_scale": 3.3,
|
| 35 |
-
"guidance_start": 0,
|
| 36 |
"guidance_end": 0.8
|
| 37 |
},
|
| 38 |
"Strict Upscale": {
|
|
@@ -40,7 +40,7 @@ presets = {
|
|
| 40 |
"steps": 8,
|
| 41 |
"controlnet_conditioning_scale": 0.75,
|
| 42 |
"guidance_scale": 4.0,
|
| 43 |
-
"guidance_start": 0,
|
| 44 |
"guidance_end": 0.9
|
| 45 |
},
|
| 46 |
"Creative Upscale": {
|
|
@@ -48,7 +48,7 @@ presets = {
|
|
| 48 |
"steps": 6,
|
| 49 |
"controlnet_conditioning_scale": 0.42,
|
| 50 |
"guidance_scale": 3.0,
|
| 51 |
-
"guidance_start": 0,
|
| 52 |
"guidance_end": 0.5
|
| 53 |
},
|
| 54 |
"Redux": {
|
|
@@ -273,7 +273,7 @@ with gr.Blocks(title="FLUX Turbo Upscaler", fill_height=True) as demo:
|
|
| 273 |
steps = gr.Slider(2, 16, value=8, label="Steps", step=1)
|
| 274 |
controlnet_conditioning_scale = gr.Slider(0, 1, value=0.6, label="ControlNet Scale")
|
| 275 |
guidance_scale = gr.Slider(1, 30, value=3.5, label="Guidance Scale")
|
| 276 |
-
guidance_start = gr.Slider(0, 1, value=
|
| 277 |
|
| 278 |
guidance_end = gr.Slider(0, 1, value=1.0, label="Guidance End")
|
| 279 |
original_dimensions = gr.Markdown(value="Original Image Dimensions: N/A") # New output for dimensions
|
|
|
|
| 32 |
"steps": 6,
|
| 33 |
"controlnet_conditioning_scale": 0.62,
|
| 34 |
"guidance_scale": 3.3,
|
| 35 |
+
"guidance_start": 0.01,
|
| 36 |
"guidance_end": 0.8
|
| 37 |
},
|
| 38 |
"Strict Upscale": {
|
|
|
|
| 40 |
"steps": 8,
|
| 41 |
"controlnet_conditioning_scale": 0.75,
|
| 42 |
"guidance_scale": 4.0,
|
| 43 |
+
"guidance_start": 0.01,
|
| 44 |
"guidance_end": 0.9
|
| 45 |
},
|
| 46 |
"Creative Upscale": {
|
|
|
|
| 48 |
"steps": 6,
|
| 49 |
"controlnet_conditioning_scale": 0.42,
|
| 50 |
"guidance_scale": 3.0,
|
| 51 |
+
"guidance_start": 0.0,
|
| 52 |
"guidance_end": 0.5
|
| 53 |
},
|
| 54 |
"Redux": {
|
|
|
|
| 273 |
steps = gr.Slider(2, 16, value=8, label="Steps", step=1)
|
| 274 |
controlnet_conditioning_scale = gr.Slider(0, 1, value=0.6, label="ControlNet Scale")
|
| 275 |
guidance_scale = gr.Slider(1, 30, value=3.5, label="Guidance Scale")
|
| 276 |
+
guidance_start = gr.Slider(0, 1, value=0.0, label="Guidance Start")
|
| 277 |
|
| 278 |
guidance_end = gr.Slider(0, 1, value=1.0, label="Guidance End")
|
| 279 |
original_dimensions = gr.Markdown(value="Original Image Dimensions: N/A") # New output for dimensions
|