Skip to content

Commit f2b8ffd

Browse files
committed
update ui extra
1 parent bcb7acc commit f2b8ffd

3 files changed

Lines changed: 8 additions & 3 deletions

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,12 +140,13 @@ uv pip install -e '.[all,cuda128]'
140140

141141
| Group | Purpose | Includes |
142142
|-------|---------|----------|
143-
| `all` | Install everything | `base` + `docs` |
143+
| `all` | Install everything | `base` + `docs` + `ui` |
144144
| `base` | Full dev environment | `dev` + `test` + `notebook` + `mcp` + extra tools |
145145
| `dev` | Development | `test` + `notebook` + linting/typing tools |
146146
| `test` | Testing only | pytest and plugins |
147147
| `notebook` | Interactive notebooks | Jupyter, Marimo |
148148
| `docs` | Build documentation | mkdocs and plugins |
149+
| `ui` | Gradio web interface | Gradio |
149150
| `mcp` | MCP server | (included in core) |
150151

151152
**Hardware groups (mutually exclusive, NOT included in `all`):**

docs/getting_started/installation.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,12 +115,13 @@ DNALLM provides multiple dependency groups for different use cases:
115115

116116
| Group | Purpose | Includes |
117117
|-------|---------|----------|
118-
| **all** | Install all optional dependencies | `base` + `docs` |
118+
| **all** | Install all optional dependencies | `base` + `docs` + `ui` |
119119
| **base** | Full development environment | `dev` + `test` + `notebook` + `mcp` + extra tools (isort, types-transformers) |
120120
| **dev** | Complete development environment | `test` + `notebook` + linting/typing (ruff, flake8, pre-commit, mypy, pandas-stubs) |
121121
| **test** | Testing environment only | pytest and plugins |
122122
| **notebook** | Jupyter and Marimo support | Jupyter Lab, Marimo |
123123
| **docs** | Documentation building | mkdocs-material, mkdocstrings, mkdocs-jupyter |
124+
| **ui** | Gradio web interface | Gradio |
124125
| **mcp** | MCP server support | Included in core dependencies (no extra install needed) |
125126

126127
> **Note:** `mcp` is an empty extra because MCP dependencies (`mcp`, `starlette`, `uvicorn`, `websockets`) are already part of the core dependencies. You can still use `.[mcp]` for clarity but it won't install additional packages.

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,14 +100,17 @@ docs = [
100100
"mkdocstrings-python>=1.16.10",
101101
"click<8.2.2",
102102
]
103+
ui = [
104+
"gradio>=4.0.0",
105+
]
103106
mcp = []
104107
base = [
105108
"dnallm[dev,test,notebook,mcp]",
106109
"isort>=6.0.1",
107110
"types-transformers>=0.1.0",
108111
]
109112
all = [
110-
"dnallm[base,docs]",
113+
"dnallm[base,docs,ui]",
111114
]
112115
cpu = [
113116
"torch>=2.4.0,<2.7",

0 commit comments

Comments
 (0)