web-demo
Routes DreamOmni2 Gradio demo launchers for editing and generation.
- License 许可
- Apache-2.0
- 最近更新
- 2026-10-08
- Stars
- ★ 11
- Forks
- 3
01 前言 Front Matter
- name
- web-demo
- license
- Apache 2.0
- metadata
- { "disco-role": "operating" }
- description
- Routes DreamOmni2 Gradio demo launchers for editing and generation.
- disable-model-invocation
- true
02 资源文件 2
- 参考文档references/troubleshooting.md1.8 KB
- 参考文档references/workflows.md1.8 KB
03 SKILL.md 正文
DreamOmni2 web demo
Use this sub-skill when the user wants to launch the DreamOmni2 browser UI instead of the one-shot CLI scripts.
Typical triggers
- "launch the DreamOmni2 demo"
- "start the Gradio app"
- "run the editing web UI"
- "run the generation web UI"
- "what port does the demo use?"
What belongs here
- The editing Gradio launcher
- The generation Gradio launcher
- Port, host, and browser-access troubleshooting
- UI-specific input-order guidance and demo startup checks
What does not belong here
- One-shot command-line inference; use
sub-skills/inference/ - Training or fine-tuning helpers
- Generic Gradio applications that are not DreamOmni2-specific
Read these files first
references/workflows.mdfor the launch commands and UI behaviorreferences/troubleshooting.mdfor port, browser, model-load, and upload failures../../references/model-setup.mdfor the expected model directories../../scripts/dreamomni2_common.pyfor the shared model and prompt helpers used by the launchers
Bundled scripts
scripts/web_edit.pyfor the editing UIscripts/web_generate.pyfor the generation UI
Workflow outline
- Confirm which UI mode is needed: editing or generation.
- Confirm the model paths and that the CUDA environment is ready.
- Launch the chosen script with the desired host and port.
- Open the browser, upload two images, and enter the instruction.
- If the result is wrong, check the image order and the model-path configuration before touching the UI code.
Decision points
- Port selection: the bundled launchers default to 7860 for editing and 7861 for generation, but both accept overrides.
- Input order: the editing UI still expects the source image first.
- Examples: the bundled launchers are intentionally not tied to the source checkout's sample images, so users should upload their own images or add local examples of their own.
If you need more detail
Read the linked reference files when you need exact launch options, browser recovery steps, or a model-path check before starting the app.
04 同仓库更多 Skills
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
python-api
Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP/mAP semantics, and source-style import diagnostics.
file-evaluation
Folder-based PASCAL VOC AP/mAP evaluation from ground-truth and detection text files.
object-detection-metrics
Guides legacy Object-Detection-Metrics PASCAL VOC AP/mAP evaluation from detection text folders and direct Python API classes.
nx-workspace-patterns
Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.