moose Claude Opus 4.6 commited on
Commit
96b96af
·
1 Parent(s): cd45da8

Clean up for public release

Browse files

- Remove next-scene LoRA references (no longer used)
- Update title and description to reflect current functionality
- Fix docstring examples to reference Qwen-Image-Edit-2511
- Remove stale model references that triggered auto-linking

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

README.md CHANGED
@@ -1,6 +1,6 @@
1
  ---
2
- title: Qwen Image Edit Next Scene
3
- emoji: 🎥
4
  colorFrom: indigo
5
  colorTo: blue
6
  sdk: gradio
@@ -8,7 +8,7 @@ sdk_version: 5.49.1
8
  app_file: app.py
9
  pinned: false
10
  license: apache-2.0
11
- short_description: Fast 4 step inference with Qwen Image Edit 2509
12
  ---
13
 
14
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: Qwen Image Edit AIO Simplified
3
+ emoji:
4
  colorFrom: indigo
5
  colorTo: blue
6
  sdk: gradio
 
8
  app_file: app.py
9
  pinned: false
10
  license: apache-2.0
11
+ short_description: Fast 4-step image editing with Qwen Image Edit 2511
12
  ---
13
 
14
+ Fast image editing powered by [Qwen-Image-Edit-2511](https://huggingface.co/Qwen/Qwen-Image-Edit-2511) with [Phr00t's Rapid-AIO v18](https://huggingface.co/Phr00t/Qwen-Image-Edit-Rapid-AIO) accelerated transformer and AoT compilation with Flash Attention 3 for 4-step inference.
app.py CHANGED
@@ -232,13 +232,13 @@ with gr.Blocks(css=css) as demo:
232
  gr.HTML("""
233
  <div id="logo-title">
234
  <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;">
235
- <h2 style="font-style: italic;color: #5b47d1;margin-top: -27px !important;margin-left: 96px">Next Scene 🎬</h2>
236
  </div>
237
  """)
238
  gr.Markdown("""
239
- This demo uses [Qwen-Image-Edit-2511](https://huggingface.co/Qwen/Qwen-Image-Edit-2511) with [Phr00t's Rapid-AIO v18](https://huggingface.co/Phr00t/Qwen-Image-Edit-Rapid-AIO) transformer + [lovis93/next-scene-qwen-image-lora](https://huggingface.co/lovis93/next-scene-qwen-image-lora-2509) for cinematic image sequences with natural visual progression 🎥 and [AoT compilation & FA3](https://huggingface.co/blog/zerogpu-aoti) for accelerated 4-step inference.
240
 
241
- Upload an image and enter your prompt to generate the next scene. The model will use your prompt exactly as provided.
242
  """)
243
  with gr.Row():
244
  with gr.Column():
 
232
  gr.HTML("""
233
  <div id="logo-title">
234
  <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;">
235
+ <h2 style="font-style: italic;color: #5b47d1;margin-top: -27px !important;margin-left: 96px">Rapid Edit </h2>
236
  </div>
237
  """)
238
  gr.Markdown("""
239
+ This demo uses [Qwen-Image-Edit-2511](https://huggingface.co/Qwen/Qwen-Image-Edit-2511) with [Phr00t's Rapid-AIO v18](https://huggingface.co/Phr00t/Qwen-Image-Edit-Rapid-AIO) accelerated transformer + [AoT compilation & FA3](https://huggingface.co/blog/zerogpu-aoti) for fast 4-step inference.
240
 
241
+ Upload an image and enter your prompt to edit it. The model will use your prompt exactly as provided.
242
  """)
243
  with gr.Row():
244
  with gr.Column():
qwenimage/pipeline_qwenimage_edit_plus.py CHANGED
@@ -48,11 +48,9 @@ EXAMPLE_DOC_STRING = """
48
  >>> from diffusers import QwenImageEditPlusPipeline
49
  >>> from diffusers.utils import load_image
50
 
51
- >>> pipe = QwenImageEditPlusPipeline.from_pretrained("Qwen/Qwen-Image-Edit-2509", torch_dtype=torch.bfloat16)
52
  >>> pipe.to("cuda")
53
- >>> image = load_image(
54
- ... "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/yarn-art-pikachu.png"
55
- ... ).convert("RGB")
56
  >>> prompt = (
57
  ... "Make Pikachu hold a sign that says 'Qwen Edit is awesome', yarn art style, detailed, vibrant colors"
58
  ... )
 
48
  >>> from diffusers import QwenImageEditPlusPipeline
49
  >>> from diffusers.utils import load_image
50
 
51
+ >>> pipe = QwenImageEditPlusPipeline.from_pretrained("Qwen/Qwen-Image-Edit-2511", torch_dtype=torch.bfloat16)
52
  >>> pipe.to("cuda")
53
+ >>> image = load_image("input.png").convert("RGB")
 
 
54
  >>> prompt = (
55
  ... "Make Pikachu hold a sign that says 'Qwen Edit is awesome', yarn art style, detailed, vibrant colors"
56
  ... )