🤖 Qwen Coder Workflow
🐓 QuickStart
First we need link github repo.
Becareful, this action will grant Qwen access to your repos.

Then we need some markdown files describe how the application working.
Just typing on common language, doesn't need to write technical language.
implement.md
This project is using Python (uv), using gradio with comfyui server to generate images.
If the input / output image too big, set fix-height = 444px
Make sure the web still working if refresh browser.
When running, the Generate button have to changed to Stop button.
The main UI defined on main.py and contain 2 tabs.
tab1: ZIT.
tab2: Flux2-Klein-9B
to implement:
tab1: zit.md.
tab2: flux2_klein_9b.md
loRA list have collapse function.
this one can add more loRA item.
each loRA has field name, weight and remove button.
if press genegrate button, loRA tag like <name:1.0> will be merge into prompt then send. (but without see on prompt field).
flux2_klein_9b.md
This document describe the Flux module (Flux2-Klein-9B) working.
File structure:
1. views/flux2_klein_9b_view.py
2. workers/flux2_klein_9b_worker.py
flux2_klein_9b_view: The gradio implement UI renderer.
flux2_klein_9b_worker: The code extract from comfyui, support start inference.
# flux2_klein_9b_view layout:
| prompt: helloworld | Generate / Stop button |
| config: seed (with toggle random value), width, height, toggle_ref |
| loRA list (each with enable toggle, name, strength) |
| input_img | output image |
if toggle_ref enabled -> we have 2 input_img.
# flux2_klein_9b_worker:
need modify, remove main block.
rename main function to generate and add config parameters into.
zit.md
This document describe the ZIT module (Z-Image-Turbo) working.
File structure:
1. views/zit_view.py
2. workers/zit_worker.py
zit_view: The gradio package support UI renderer.
zit_worker: The code extract from comfyui, support start inference.
# zit_view layout:
| prompt: helloworld | Generate / Stop button |
| config: seed (with toggle random value), width, height |
| loRA list (each with enable toggle, name, strength) | output image |
# zit_worker:
need modify, remove main block.
rename main function to generate and add config parameters into.