akhaliq HF Staff commited on
Commit
a3ef50c
·
verified ·
1 Parent(s): 3530f0e

Document Studio and Workflow views

Browse files
Files changed (1) hide show
  1. README.md +23 -5
README.md CHANGED
@@ -4,10 +4,11 @@ emoji: 🎨
4
  colorFrom: purple
5
  colorTo: blue
6
  sdk: gradio
7
- sdk_version: 6.16.0
8
  app_file: app.py
9
  python_version: "3.12"
10
  pinned: false
 
11
  short_description: Text-rich visual design with Ming-Image-0.2-Design
12
  tags:
13
  - ml-intern
@@ -15,17 +16,33 @@ tags:
15
  - image-generation
16
  - graphic-design
17
  - ming-image
 
 
18
  ---
19
 
20
  <div style="display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 2em"><a href="https://hf.co/chat?mode=ml-intern"><img src="https://hf.co/datasets/huggingface/badges/resolve/main/built-with-ml-intern-lg.svg" alt="Built with ML Intern" style="margin:0"></a><a href="https://hf.co/chat?mode=ml-intern&prompt=Optimize%20akhaliq%2Fming-image-0-2-design%20for%20faster%20ZeroGPU%20inference" style="display:inline-flex;align-items:center;gap:5px;padding:4px 12px;border:1.5px solid #eee;border-radius:16px;background:#f9fbfc;color:#c2410c;font-weight:600;font-size:14px;text-decoration:none">Optimize inference ›</a><a href="https://hf.co/chat?mode=ml-intern&prompt=Add%20an%20image-editing%20workflow%20to%20akhaliq%2Fming-image-0-2-design" style="display:inline-flex;align-items:center;gap:5px;padding:4px 12px;border:1.5px solid #eee;border-radius:16px;background:#f9fbfc;color:#c2410c;font-weight:600;font-size:14px;text-decoration:none">Add image editing ›</a></div>
21
 
22
  # Ming Image · Design Studio
23
 
24
- A fresh Gradio interface for
25
  [`inclusionAI/Ming-Image-0.2-Design`](https://huggingface.co/inclusionAI/Ming-Image-0.2-Design),
26
  focused on text-rich UI concepts, e-commerce heroes, infographics, posters, and
27
  transparent RGBA assets.
28
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
  ## Enable generation
30
 
31
  This Space is initially deployed on **free CPU hardware**. To run the model:
@@ -70,9 +87,10 @@ engine and a queue.
70
  ## Dependency notes
71
 
72
  Transformers 4.57.1 and Diffusers 0.36.0 follow the official Ming dependency
73
- stack. Gradio is pinned to 6.16.0 because its `huggingface-hub<2` range remains
74
- compatible with Transformers 4.57.1's `huggingface-hub<1` requirement; newer
75
- Gradio 6.32.0 requires `huggingface-hub>=1`. Torch 2.8.0 is the oldest PyTorch
 
76
  release supported by current ZeroGPU, with matching Torchvision 0.23.0. NumPy is
77
  raised from the official 1.23.1 pin because that release does not support Python
78
  3.12. Transformer Engine and FlashAttention are not installed: the official code
 
4
  colorFrom: purple
5
  colorTo: blue
6
  sdk: gradio
7
+ sdk_version: 6.17.3
8
  app_file: app.py
9
  python_version: "3.12"
10
  pinned: false
11
+ startup_duration_timeout: 1h
12
  short_description: Text-rich visual design with Ming-Image-0.2-Design
13
  tags:
14
  - ml-intern
 
16
  - image-generation
17
  - graphic-design
18
  - ming-image
19
+ models:
20
+ - inclusionAI/Ming-Image-0.2-Design
21
  ---
22
 
23
  <div style="display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 2em"><a href="https://hf.co/chat?mode=ml-intern"><img src="https://hf.co/datasets/huggingface/badges/resolve/main/built-with-ml-intern-lg.svg" alt="Built with ML Intern" style="margin:0"></a><a href="https://hf.co/chat?mode=ml-intern&prompt=Optimize%20akhaliq%2Fming-image-0-2-design%20for%20faster%20ZeroGPU%20inference" style="display:inline-flex;align-items:center;gap:5px;padding:4px 12px;border:1.5px solid #eee;border-radius:16px;background:#f9fbfc;color:#c2410c;font-weight:600;font-size:14px;text-decoration:none">Optimize inference ›</a><a href="https://hf.co/chat?mode=ml-intern&prompt=Add%20an%20image-editing%20workflow%20to%20akhaliq%2Fming-image-0-2-design" style="display:inline-flex;align-items:center;gap:5px;padding:4px 12px;border:1.5px solid #eee;border-radius:16px;background:#f9fbfc;color:#c2410c;font-weight:600;font-size:14px;text-decoration:none">Add image editing ›</a></div>
24
 
25
  # Ming Image · Design Studio
26
 
27
+ A Gradio Server and Workflow interface for
28
  [`inclusionAI/Ming-Image-0.2-Design`](https://huggingface.co/inclusionAI/Ming-Image-0.2-Design),
29
  focused on text-rich UI concepts, e-commerce heroes, infographics, posters, and
30
  transparent RGBA assets.
31
 
32
+ ## App views
33
+
34
+ - **`/` — Studio:** an original responsive frontend with prompt examples, output-size
35
+ and sampling controls, a transparency-aware result stage, PNG download, session
36
+ history, and dark/light themes. It calls the queued Gradio Server `/generate` API.
37
+ - **`/workflow` — Workflow:** a typed node canvas with Design Brief, Output Size,
38
+ Steps, CFG, and Seed references feeding one Ming Generate operator and an RGBA
39
+ output subject. Edit `workflow.json` to change the starter graph.
40
+
41
+ The interaction pattern is inspired by
42
+ [`PrunaAI/P-Image-OSS`](https://huggingface.co/spaces/PrunaAI/P-Image-OSS), while the
43
+ studio styling, workflow graph, and Ming inference adapter are implemented for this
44
+ model rather than duplicated from that Space.
45
+
46
  ## Enable generation
47
 
48
  This Space is initially deployed on **free CPU hardware**. To run the model:
 
87
  ## Dependency notes
88
 
89
  Transformers 4.57.1 and Diffusers 0.36.0 follow the official Ming dependency
90
+ stack. Gradio is pinned to 6.17.3 because it includes `gr.Server` and `gr.Workflow`
91
+ while retaining a `huggingface-hub<2` range compatible with Transformers 4.57.1's
92
+ `huggingface-hub<1` requirement. Gradio 6.18 and newer require Hub 1.x, so they
93
+ cannot share this environment with the official Ming stack. Torch 2.8.0 is the oldest PyTorch
94
  release supported by current ZeroGPU, with matching Torchvision 0.23.0. NumPy is
95
  raised from the official 1.23.1 pin because that release does not support Python
96
  3.12. Transformer Engine and FlashAttention are not installed: the official code