Spaces:
Running
on
Zero
Running
on
Zero
Fix app styles (#6)
Browse files- Fix: inline the buttons (b3fb84c0981adb1a1f4fbe5e0b0a77dd48712837)
- Fix: display introduction text (b111f85a349e97a9238c1739d03f79f71aa470fc)
Co-authored-by: fmarcano <[email protected]>
app.py
CHANGED
@@ -145,15 +145,31 @@ MODE_DEFAULTS: dict[str, Mode] = {
|
|
145 |
header = """
|
146 |
<h1>🌍 ZenCtrl / FLUX</h1>
|
147 |
<div align="center" style="line-height: 1;">
|
148 |
-
<a href="https://github.com/FotographerAI/ZenCtrl/tree/main" target="_blank"><img src="https://img.shields.io/badge/GitHub-Repo-181717.svg"></a>
|
149 |
-
<a href="https://huggingface.co/spaces/fotographerai/ZenCtrl" target="_blank"><img src="https://img.shields.io/badge/🤗_HuggingFace-Space-ffbd45.svg"></a>
|
150 |
-
<a href="https://discord.com/invite/b9RuYQ3F8k" target="_blank"><img src="https://img.shields.io/badge/Discord-Join-7289da.svg?logo=discord"></a>
|
151 |
</div>
|
152 |
"""
|
153 |
|
154 |
with gr.Blocks(title="🌍 ZenCtrl") as demo:
|
155 |
gr.HTML(header)
|
156 |
-
gr.Markdown(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
157 |
|
158 |
with gr.Tabs():
|
159 |
for mode in MODE_DEFAULTS:
|
|
|
145 |
header = """
|
146 |
<h1>🌍 ZenCtrl / FLUX</h1>
|
147 |
<div align="center" style="line-height: 1;">
|
148 |
+
<a href="https://github.com/FotographerAI/ZenCtrl/tree/main" target="_blank" style="margin: 2px;" name="github_repo_link"><img src="https://img.shields.io/badge/GitHub-Repo-181717.svg" alt="GitHub Repo" style="display: inline-block; vertical-align: middle;"></a>
|
149 |
+
<a href="https://huggingface.co/spaces/fotographerai/ZenCtrl" target="_blank" style="margin: 2px;" name="hugging_face_space_link"><img src="https://img.shields.io/badge/🤗_HuggingFace-Space-ffbd45.svg" alt="Hugging Face Space" style="display: inline-block; vertical-align: middle;"></a>
|
150 |
+
<a href="https://discord.com/invite/b9RuYQ3F8k" target="_blank" style="margin: 2px;" name="discord_link"><img src="https://img.shields.io/badge/Discord-Join-7289da.svg?logo=discord" alt="Discord Link" style="display: inline-block; vertical-align: middle;"></a>
|
151 |
</div>
|
152 |
"""
|
153 |
|
154 |
with gr.Blocks(title="🌍 ZenCtrl") as demo:
|
155 |
gr.HTML(header)
|
156 |
+
gr.Markdown(
|
157 |
+
"""
|
158 |
+
# ZenCtrl Demo
|
159 |
+
[WIP] One Agent to Generate multi-view, diverse-scene, and task-specific high-resolution images from a single subject image—without fine-tuning.
|
160 |
+
We are first releasing some of the task specific weights and will release the codes soon.
|
161 |
+
The goal is to unify all of the visual content generation tasks with a single LLM...
|
162 |
+
|
163 |
+
**Modes:**
|
164 |
+
- **Subject Generation:** Focuses on generating detailed subject portraits.
|
165 |
+
- **Background Generation:** Creates dynamic, vibrant backgrounds:
|
166 |
+
You can generate part of the image from sketch while keeping part of it as it is.
|
167 |
+
- **Canny:** Emphasizes strong edge detection.
|
168 |
+
- **Depth:** Produces images with realistic depth and perspective.
|
169 |
+
|
170 |
+
For more details, shoot us a message on discord.
|
171 |
+
"""
|
172 |
+
)
|
173 |
|
174 |
with gr.Tabs():
|
175 |
for mode in MODE_DEFAULTS:
|