Spaces:
Running
Running
salomonsky
commited on
Commit
•
3b4ee8c
1
Parent(s):
165b2f6
Update app.py
Browse files
app.py
CHANGED
@@ -62,20 +62,22 @@ css = """
|
|
62 |
with gr.Blocks(css=CSS, js=JS, theme="Nymbo/Nymbo_Theme") as demo:
|
63 |
with gr.Column(elem_id="col-container"):
|
64 |
gr.Markdown("Flux Upscaled +LORA")
|
65 |
-
with gr.
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
|
|
|
|
79 |
|
80 |
submit_btn.click(
|
81 |
fn=lambda: None,
|
|
|
62 |
with gr.Blocks(css=CSS, js=JS, theme="Nymbo/Nymbo_Theme") as demo:
|
63 |
with gr.Column(elem_id="col-container"):
|
64 |
gr.Markdown("Flux Upscaled +LORA")
|
65 |
+
with gr.Row():
|
66 |
+
with gr.Column(scale=1.5):
|
67 |
+
output_res = ImageSlider(label="Flux / Upscaled")
|
68 |
+
with gr.Column(scale=0.8):
|
69 |
+
with gr.Group():
|
70 |
+
prompt = gr.Textbox(label="Prompt")
|
71 |
+
lora_add = gr.Textbox(label="Add Flux LoRA", info="Modelo Lora", lines=1, value="XLabs-AI/flux-RealismLora")
|
72 |
+
lora_word = gr.Textbox(label="Add Flux LoRA Trigger Word", info="Add the Trigger Word", lines=1, value="")
|
73 |
+
width = gr.Slider(label="Width", minimum=512, maximum=1280, step=8, value=512)
|
74 |
+
height = gr.Slider(label="Height", minimum=512, maximum=1280, step=8, value=512)
|
75 |
+
scales = gr.Slider(label="Guidance", minimum=3.5, maximum=7, step=0.1, value=3.5)
|
76 |
+
steps = gr.Slider(label="Steps", minimum=1, maximum=100, step=1, value=24)
|
77 |
+
seed = gr.Slider(label="Seeds", minimum=-1, maximum=MAX_SEED, step=1, value=-1)
|
78 |
+
upscale_factor = gr.Radio(label="UpScale Factor", choices=[2, 3, 4], value=2, scale=2)
|
79 |
+
process_upscale = gr.Checkbox(label="Process Upscale", value=True)
|
80 |
+
submit_btn = gr.Button("Submit", scale=1)
|
81 |
|
82 |
submit_btn.click(
|
83 |
fn=lambda: None,
|