multimodalart HF Staff commited on
Commit
1e7eebe
·
verified ·
1 Parent(s): 4482842

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -135,7 +135,7 @@ EXAMPLES = [
135
  ["The green plant was on top of the white nightstand"],
136
  ]
137
 
138
- with gr.Blocks(css=CSS) as demo:
139
  with gr.Column(elem_id="col-container"):
140
  gr.Markdown(
141
  """# FLUX.1-dev CMO — Compositional Text-to-Image
@@ -221,4 +221,4 @@ FLUX.1-dev fine-tuned with **Correlation-Weighted Multi-Reward Optimization (CMO
221
  api_name="generate",
222
  )
223
 
224
- demo.launch(mcp_server=True, theme=gr.themes.Citrus())
 
135
  ["The green plant was on top of the white nightstand"],
136
  ]
137
 
138
+ with gr.Blocks() as demo:
139
  with gr.Column(elem_id="col-container"):
140
  gr.Markdown(
141
  """# FLUX.1-dev CMO — Compositional Text-to-Image
 
221
  api_name="generate",
222
  )
223
 
224
+ demo.launch(mcp_server=True, theme=gr.themes.Citrus(), css=CSS)