fantos commited on
Commit
14fe83c
1 Parent(s): 48ab7a2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -10
app.py CHANGED
@@ -187,19 +187,14 @@ def infer(cond_in, image_in, prompt, inference_steps, guidance_scale, control_mo
187
  return image, control_image, gr.update(visible=True)
188
 
189
 
190
- css="""
191
- #col-container{
192
- margin: 0 auto;
193
- max-width: 1080px;
194
  }
195
  """
196
- with gr.Blocks(css=css) as demo:
 
197
  with gr.Column(elem_id="col-container"):
198
- gr.Markdown("""
199
- # FLUX.1-dev-ControlNet-Union-Pro
200
- A unified ControlNet for FLUX.1-dev model from the InstantX team and Shakker Labs. Model card: [Shakker-Labs/FLUX.1-dev-ControlNet-Union-Pro](https://huggingface.co/Shakker-Labs/FLUX.1-dev-ControlNet-Union-Pro). <br />
201
- The recommended strength: {"canny":0.65, "tile":0.45, "depth":0.55, "blur":0.45, "openpose":0.55, "gray":0.45, "low quality": 0.4}. Long prompt is preferred by FLUX.1.
202
- """)
203
 
204
  with gr.Column():
205
 
 
187
  return image, control_image, gr.update(visible=True)
188
 
189
 
190
+ css = """
191
+ footer {
192
+ visibility: hidden;
 
193
  }
194
  """
195
+
196
+ with gr.Blocks(theme="Nymbo/Nymbo_Theme", css=css) as demo:
197
  with gr.Column(elem_id="col-container"):
 
 
 
 
 
198
 
199
  with gr.Column():
200