Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
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 defaults to
|
115 |
with gr.Row():
|
116 |
prompt = gr.Text(
|
117 |
label="Prompt",
|
@@ -162,7 +162,7 @@ with gr.Blocks(css=css) as demo:
|
|
162 |
minimum=1,
|
163 |
maximum=50,
|
164 |
step=1,
|
165 |
-
value=
|
166 |
)
|
167 |
|
168 |
gr.Examples(examples=examples, inputs=[prompt], outputs=[result, seed], fn=generate_image, cache_examples=False)
|
|
|
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 18 inference steps to target ~30s generation times**.")
|
115 |
with gr.Row():
|
116 |
prompt = gr.Text(
|
117 |
label="Prompt",
|
|
|
162 |
minimum=1,
|
163 |
maximum=50,
|
164 |
step=1,
|
165 |
+
value=18,
|
166 |
)
|
167 |
|
168 |
gr.Examples(examples=examples, inputs=[prompt], outputs=[result, seed], fn=generate_image, cache_examples=False)
|