Spaces:
Running on Zero
Running on Zero
Upload app.py with huggingface_hub
Browse files
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(
|
| 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)
|