Spaces:
Running
on
Zero
Running
on
Zero
update demo
Browse files
app.py
CHANGED
|
@@ -154,22 +154,19 @@ def _launch_demo(vlm_model, processor, pipe):
|
|
| 154 |
with gr.Blocks(theme=gr.themes.Soft(), title="DreamOmni2", css=css) as demo:
|
| 155 |
gr.HTML(
|
| 156 |
"""
|
| 157 |
-
<h1 style="text-align:center; font-size:
|
| 158 |
DreamOmni2: Multimodal Image Generation and Editing
|
| 159 |
</h1>
|
| 160 |
"""
|
| 161 |
)
|
| 162 |
gr.Markdown(
|
| 163 |
-
"
|
| 164 |
-
|
| 165 |
-
)
|
| 166 |
-
gr.Markdown(
|
| 167 |
-
"For editing tasks, due to the format settings of the training data, we need to place the image to be edited in the first position.",
|
| 168 |
elem_classes="text-center"
|
| 169 |
)
|
| 170 |
with gr.Row():
|
| 171 |
with gr.Column(scale=2):
|
| 172 |
-
gr.Markdown("⬆️ Upload images. Click or drag to upload.")
|
| 173 |
|
| 174 |
with gr.Row():
|
| 175 |
image_uploader_1 = gr.Image(
|
|
|
|
| 154 |
with gr.Blocks(theme=gr.themes.Soft(), title="DreamOmni2", css=css) as demo:
|
| 155 |
gr.HTML(
|
| 156 |
"""
|
| 157 |
+
<h1 style="text-align:center; font-size:40px; font-weight:bold; margin-bottom:16px;">
|
| 158 |
DreamOmni2: Multimodal Image Generation and Editing
|
| 159 |
</h1>
|
| 160 |
"""
|
| 161 |
)
|
| 162 |
gr.Markdown(
|
| 163 |
+
"Upload two images, provide an instruction, and click 'Run'.",
|
| 164 |
+
"**Hint**: For editing tasks, due to the format settings of the training data, we need to place the image to be edited in the first position.",
|
|
|
|
|
|
|
|
|
|
| 165 |
elem_classes="text-center"
|
| 166 |
)
|
| 167 |
with gr.Row():
|
| 168 |
with gr.Column(scale=2):
|
| 169 |
+
gr.Markdown("⬆️ Upload images. Click or drag to upload. Edit image on the left.")
|
| 170 |
|
| 171 |
with gr.Row():
|
| 172 |
image_uploader_1 = gr.Image(
|