Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -52,16 +52,18 @@ css = """
|
|
52 |
with gr.Blocks(css=css) as demo:
|
53 |
with gr.Column(elem_id="col-container"):
|
54 |
gr.Markdown("# Flux Upscaled")
|
55 |
-
|
56 |
-
with gr.
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
|
|
|
|
65 |
output_res = ImageSlider(label="Flux / Upscaled")
|
66 |
|
67 |
submit_btn.click(
|
|
|
52 |
with gr.Blocks(css=css) as demo:
|
53 |
with gr.Column(elem_id="col-container"):
|
54 |
gr.Markdown("# Flux Upscaled")
|
55 |
+
gr.Markdown("Step 1: generate image with FLUX schnell; Step 2: UpScale with Finegraines Image-Enhancer;")
|
56 |
+
with gr.Group():
|
57 |
+
prompt_in = gr.Textbox(label="Prompt")
|
58 |
+
with gr.Row():
|
59 |
+
upscale_factor = gr.Radio(
|
60 |
+
label = "UpScale Factor",
|
61 |
+
choices = [
|
62 |
+
2, 3, 4
|
63 |
+
],
|
64 |
+
value = 2
|
65 |
+
)
|
66 |
+
submit_btn = gr.Button("Submit")
|
67 |
output_res = ImageSlider(label="Flux / Upscaled")
|
68 |
|
69 |
submit_btn.click(
|