Hansheng Chen
commited on
Commit
·
2d236ff
1
Parent(s):
2d8f0dd
Add arxiv link
Browse files- README.md +1 -1
- app.py +1 -1
- lakonlab/pipelines/piflux_pipeline.py +1 -1
- lakonlab/pipelines/piqwen_pipeline.py +1 -1
README.md
CHANGED
|
@@ -22,4 +22,4 @@ Official demo of the paper:
|
|
| 22 |
[Sai Bi](https://sai-bi.github.io/)<sup>2</sup><br>
|
| 23 |
<sup>1</sup>Stanford University, <sup>2</sup>Adobe Research
|
| 24 |
<br>
|
| 25 |
-
[[arXiv]()] [[pi-Qwen Demo🤗](https://huggingface.co/spaces/Lakonik/pi-Qwen)] [[pi-FLUX Demo🤗](https://huggingface.co/spaces/Lakonik/pi-FLUX.1)]
|
|
|
|
| 22 |
[Sai Bi](https://sai-bi.github.io/)<sup>2</sup><br>
|
| 23 |
<sup>1</sup>Stanford University, <sup>2</sup>Adobe Research
|
| 24 |
<br>
|
| 25 |
+
[[arXiv](https://arxiv.org/abs/2510.14974)] [[pi-Qwen Demo🤗](https://huggingface.co/spaces/Lakonik/pi-Qwen)] [[pi-FLUX Demo🤗](https://huggingface.co/spaces/Lakonik/pi-FLUX.1)]
|
app.py
CHANGED
|
@@ -48,7 +48,7 @@ with gr.Blocks(analytics_enabled=False,
|
|
| 48 |
) as demo:
|
| 49 |
|
| 50 |
md_txt = '# pi-Qwen Demo\n\n' \
|
| 51 |
-
'Official demo of the paper [pi-Flow: Policy-Based Few-Step Generation via Imitation Distillation](). ' \
|
| 52 |
'**Base model:** [Qwen-Image](https://huggingface.co/Qwen/Qwen-Image). **Fast policy:** GMFlow. **Code:** [https://github.com/Lakonik/piFlow](https://github.com/Lakonik/piFlow).'
|
| 53 |
gr.Markdown(md_txt)
|
| 54 |
|
|
|
|
| 48 |
) as demo:
|
| 49 |
|
| 50 |
md_txt = '# pi-Qwen Demo\n\n' \
|
| 51 |
+
'Official demo of the paper [pi-Flow: Policy-Based Few-Step Generation via Imitation Distillation](https://arxiv.org/abs/2510.14974). ' \
|
| 52 |
'**Base model:** [Qwen-Image](https://huggingface.co/Qwen/Qwen-Image). **Fast policy:** GMFlow. **Code:** [https://github.com/Lakonik/piFlow](https://github.com/Lakonik/piFlow).'
|
| 53 |
gr.Markdown(md_txt)
|
| 54 |
|
lakonlab/pipelines/piflux_pipeline.py
CHANGED
|
@@ -74,7 +74,7 @@ class PiFluxPipeline(FluxPipeline, PiFlowLoaderMixin):
|
|
| 74 |
r"""
|
| 75 |
The policy-based Flux pipeline for text-to-image generation.
|
| 76 |
|
| 77 |
-
Reference:
|
| 78 |
|
| 79 |
Args:
|
| 80 |
transformer ([`FluxTransformer2DModel`]):
|
|
|
|
| 74 |
r"""
|
| 75 |
The policy-based Flux pipeline for text-to-image generation.
|
| 76 |
|
| 77 |
+
Reference: https://arxiv.org/abs/2510.14974
|
| 78 |
|
| 79 |
Args:
|
| 80 |
transformer ([`FluxTransformer2DModel`]):
|
lakonlab/pipelines/piqwen_pipeline.py
CHANGED
|
@@ -66,7 +66,7 @@ class PiQwenImagePipeline(QwenImagePipeline, PiFlowLoaderMixin):
|
|
| 66 |
r"""
|
| 67 |
The policy-based QwenImage pipeline for text-to-image generation.
|
| 68 |
|
| 69 |
-
Reference:
|
| 70 |
|
| 71 |
Args:
|
| 72 |
transformer ([`QwenImageTransformer2DModel`]):
|
|
|
|
| 66 |
r"""
|
| 67 |
The policy-based QwenImage pipeline for text-to-image generation.
|
| 68 |
|
| 69 |
+
Reference: https://arxiv.org/abs/2510.14974
|
| 70 |
|
| 71 |
Args:
|
| 72 |
transformer ([`QwenImageTransformer2DModel`]):
|