linoyts HF Staff commited on
Commit
60ea455
·
verified ·
1 Parent(s): 7db469b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -3
app.py CHANGED
@@ -206,9 +206,15 @@ css = """
206
 
207
  with gr.Blocks(css=css) as demo:
208
  with gr.Column(elem_id="col-container"):
209
- gr.HTML('<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;">')
210
- gr.HTML('<h1 style="text-align: center;margin-left: 80px;color: #5b47d1;font-style: italic;">Edit</h1>', elem_id="edit_text")
211
- 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-Edit) to run locally with ComfyUI or diffusers.")
 
 
 
 
 
 
212
  with gr.Row():
213
  with gr.Column():
214
  input_image = gr.Image(label="Input Image", show_label=False, type="pil")
 
206
 
207
  with gr.Blocks(css=css) as demo:
208
  with gr.Column(elem_id="col-container"):
209
+ gr.HTML("""
210
+ <div id="logo-title">
211
+ <img src="https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen-Image/qwen_image_edit_logo.png" alt="Qwen-Image Edit Logo" width="400" style="display: block; margin: 0 auto;">
212
+ </div>
213
+ """)
214
+ gr.Markdown("""
215
+ [Learn more](https://github.com/QwenLM/Qwen-Image) about the Qwen-Image series.
216
+ Try on [Qwen Chat](https://chat.qwen.ai/), or [download model](https://huggingface.co/Qwen/Qwen-Image-Edit) to run locally with ComfyUI or diffusers.
217
+ """)
218
  with gr.Row():
219
  with gr.Column():
220
  input_image = gr.Image(label="Input Image", show_label=False, type="pil")