fffiloni commited on
Commit
25916b6
·
verified ·
1 Parent(s): f47ec65

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -10
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
- prompt_in = gr.Textbox(label="Prompt")
56
- with gr.Row():
57
- upscale_factor = gr.Radio(
58
- label = "UpScale Factor",
59
- choices = [
60
- 2, 3, 4
61
- ],
62
- value = 2
63
- )
64
- submit_btn = gr.Button("Submit")
 
 
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(