Spaces:
Running
on
Zero
Running
on
Zero
Update raw.py
Browse files
raw.py
CHANGED
@@ -80,10 +80,8 @@ def generate_image(prompt, scale, steps, control_image, controlnet_conditioning_
|
|
80 |
return image
|
81 |
|
82 |
# Create Gradio interface with rows and columns
|
83 |
-
with gr.Blocks(title="FLUX
|
84 |
-
gr.Markdown("
|
85 |
-
gr.Markdown("Generate images using the FluxControlNetPipeline. Upload a control image and enter a prompt to create an image.")
|
86 |
-
|
87 |
with gr.Row():
|
88 |
control_image = gr.Image(type="pil", label="Control Image", show_label=False)
|
89 |
generated_image = gr.Image(type="pil", label="Generated Image", format="png", show_label=False)
|
@@ -101,7 +99,7 @@ with gr.Blocks(title="FLUX ControlNet Image Generation", fill_height=True) as if
|
|
101 |
|
102 |
|
103 |
with gr.Row():
|
104 |
-
gr.Markdown("**Tips:**
|
105 |
|
106 |
generate_button.click(
|
107 |
fn=generate_image,
|
|
|
80 |
return image
|
81 |
|
82 |
# Create Gradio interface with rows and columns
|
83 |
+
with gr.Blocks(title="FLUX Turbo Upscaler", fill_height=True) as iface:
|
84 |
+
gr.Markdown("⚠️ WIP SPACE - UNFINISHED & BUGGY")
|
|
|
|
|
85 |
with gr.Row():
|
86 |
control_image = gr.Image(type="pil", label="Control Image", show_label=False)
|
87 |
generated_image = gr.Image(type="pil", label="Generated Image", format="png", show_label=False)
|
|
|
99 |
|
100 |
|
101 |
with gr.Row():
|
102 |
+
gr.Markdown("**Tips:** 8 steps is all you need!")
|
103 |
|
104 |
generate_button.click(
|
105 |
fn=generate_image,
|