Spaces:
Running
on
Zero
Running
on
Zero
evalstate
commited on
Commit
·
6805efd
1
Parent(s):
7c163af
reinstate aspect ratio, tweak text
Browse files
app.py
CHANGED
|
@@ -111,7 +111,7 @@ css = """
|
|
| 111 |
with gr.Blocks(css=css) as demo:
|
| 112 |
with gr.Column(elem_id="col-container"):
|
| 113 |
gr.Markdown('<img src="https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen-Image/qwen_image_logo.png" alt="Qwen-Image Logo" width="400" style="display: block; margin: 0 auto;">')
|
| 114 |
-
gr.Markdown("[Learn more](https://github.com/QwenLM/Qwen-Image) about the Qwen-Image series. Try on [Qwen Chat](https://chat.qwen.ai/), or [download model](https://huggingface.co/Qwen/Qwen-Image) to run locally with ComfyUI or diffusers. <br /> **This version does not include the 'prompt polisher', and
|
| 115 |
with gr.Row():
|
| 116 |
prompt = gr.Text(
|
| 117 |
label="Prompt",
|
|
@@ -143,9 +143,9 @@ with gr.Blocks(css=css) as demo:
|
|
| 143 |
|
| 144 |
with gr.Row():
|
| 145 |
aspect_ratio = gr.Radio(
|
| 146 |
-
label="
|
| 147 |
-
choices=["
|
| 148 |
-
value="16:
|
| 149 |
)
|
| 150 |
|
| 151 |
with gr.Row():
|
|
|
|
| 111 |
with gr.Blocks(css=css) as demo:
|
| 112 |
with gr.Column(elem_id="col-container"):
|
| 113 |
gr.Markdown('<img src="https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen-Image/qwen_image_logo.png" alt="Qwen-Image Logo" width="400" style="display: block; margin: 0 auto;">')
|
| 114 |
+
gr.Markdown("[Learn more](https://github.com/QwenLM/Qwen-Image) about the Qwen-Image series. Try on [Qwen Chat](https://chat.qwen.ai/), or [download model](https://huggingface.co/Qwen/Qwen-Image) to run locally with ComfyUI or diffusers. <br /> **This version does not include the 'prompt polisher', and defaults to 20 inference steps to target ~30s generation times**.")
|
| 115 |
with gr.Row():
|
| 116 |
prompt = gr.Text(
|
| 117 |
label="Prompt",
|
|
|
|
| 143 |
|
| 144 |
with gr.Row():
|
| 145 |
aspect_ratio = gr.Radio(
|
| 146 |
+
label="Aspect ratio (width:height)",
|
| 147 |
+
choices=["1:1", "16:9", "9:16", "4:3", "3:4", "3:2", "2:3"],
|
| 148 |
+
value="16:9",
|
| 149 |
)
|
| 150 |
|
| 151 |
with gr.Row():
|