Spaces:
Paused
Paused
Update app.py
Browse files84 unmodified lines858687888990917 unmodified lines9910010110210310410510610710810911011111211311411511629 unmodified lines14614714814915015115284 unmodified lineswith gr.Column(elem_id="col-container"):# Title and description for the demo.gr.Markdown(f"""# Qwen-Image Text-to-ImageGradio demo for [Qwen-Image](https://huggingface.co/Qwen/Qwen-Image), a powerful text-to-image model from the Qwen (通义千问) team at Alibaba.""")with gr.Row():7 unmodified lines)# The "Run" button.run_button = gr.Button("Run", scale=0)# Negative prompt input.negative_prompt = gr.Text(label="Negative Prompt",max_lines=1,placeholder="Enter a negative prompt",value="text, watermark, copyright, blurry, low resolution",)# Display area for the generated image.result = gr.Image(label="Result", show_label=False)# Accordion for advanced settings.with gr.Accordion("Advanced Settings", open=False):29 unmodified linesminimum=1,maximum=50,step=1,value=4,)true_cfg_scale = gr.Slider(label="CFG Scale",84 unmodified lines858687888990917 unmodified lines9910010110210310410510610710810911011111211311429 unmodified lines14414514614714814915084 unmodified lineswith gr.Column(elem_id="col-container"):# Title and description for the demo.gr.Markdown(f"""# Qwen-Image Text-to-ImageGradio demo for [Qwen-Image](https://huggingface.co/Qwen/Qwen-Image), a powerful text-to-image model from the Qwen team at Alibaba.""")with gr.Row():7 unmodified lines)# The "Run" button.run_button = gr.Button("Run", scale=0)result = gr.Image(label="Result", show_label=False)negative_prompt = gr.Text(label="Negative Prompt",max_lines=1,placeholder="Enter a negative prompt",value="text, watermark, copyright, blurry, low resolution",)# Accordion for advanced settings.with gr.Accordion("Advanced Settings", open=False):29 unmodified linesminimum=1,maximum=50,step=1,value=28,)true_cfg_scale = gr.Slider(label="CFG Scale",
app.py+6-8