John6666 commited on
Commit
b68345e
·
verified ·
1 Parent(s): 627fd55

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -83,7 +83,7 @@ css="""
83
  with gr.Blocks(css=css) as demo:
84
 
85
  with gr.Column(elem_id="col-container"):
86
- gr.Markdown(f"""# FLUX.1 [dev]
87
  12B param rectified flow transformer guidance-distilled from [FLUX.1 [pro]](https://blackforestlabs.ai/)
88
  [[non-commercial license](https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md)] [[blog](https://blackforestlabs.ai/announcing-black-forest-labs/)] [[model](https://huggingface.co/black-forest-labs/FLUX.1-dev)]
89
  """)
@@ -101,7 +101,7 @@ with gr.Blocks(css=css) as demo:
101
  run_button = gr.Button("Run", scale=0)
102
 
103
  #result = gr.Image(label="Result", show_label=False)
104
- result = ImageSlider(label="Result", show_label=False, type="pil", slider_color="pink", format="png")
105
  result_cmp = gr.Image(label="Result (comparing)", show_label=False, type="pil", format="png", height=256, show_download_button=True, show_share_button=False)
106
 
107
  with gr.Accordion("Advanced Settings", open=True):
 
83
  with gr.Blocks(css=css) as demo:
84
 
85
  with gr.Column(elem_id="col-container"):
86
+ gr.Markdown(f"""# FLUX.1 [dev] sigmas test
87
  12B param rectified flow transformer guidance-distilled from [FLUX.1 [pro]](https://blackforestlabs.ai/)
88
  [[non-commercial license](https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md)] [[blog](https://blackforestlabs.ai/announcing-black-forest-labs/)] [[model](https://huggingface.co/black-forest-labs/FLUX.1-dev)]
89
  """)
 
101
  run_button = gr.Button("Run", scale=0)
102
 
103
  #result = gr.Image(label="Result", show_label=False)
104
+ result = ImageSlider(label="Result", show_label=False, type="pil", slider_color="pink")
105
  result_cmp = gr.Image(label="Result (comparing)", show_label=False, type="pil", format="png", height=256, show_download_button=True, show_share_button=False)
106
 
107
  with gr.Accordion("Advanced Settings", open=True):