Top AI Repos โ open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
๐ spaCy building blocks and visualizers for Streamlit apps
| Date | Stars |
|---|---|
| 2026-07-24 | 859 |
| 2026-07-25 | 859 |
| 2026-07-28 | 859 |
| 2026-07-30 | 859 |
| 2026-08-06 | 859 |
Today
โ stars today
This week
โ stars this week
This month
โ stars this month
Momentum
0.0
growth rate 0.00%/day
<a href="https://explosion.ai"><img src="https://explosion.ai/assets/img/logo.svg" width="125" height="125" align="right" /></a> # spacy-streamlit: spaCy building blocks for Streamlit apps This package contains utilities for visualizing [spaCy](https://spacy.io) models and building interactive spaCy-powered apps with [Streamlit](https://streamlit.io). It includes various building blocks you can use in your own Streamlit app, like visualizers for **syntactic dependencies**, **named entities**, **text classification**, **semantic similarity** via word vectors, token attributes, and more. [](https://github.com/explosion/spacy-streamlit/releases) [](https://pypi.org/project/spacy-streamlit/) <img width="50%" align="right" src="https://user-images.githubusercontent.com/13643239/85388081-f2da8700-b545-11ea-9bd4-e303d3c5763c.png"> ## ๐ Quickstart You can install `spacy-streamlit` from pip: ```bash pip install spacy-streamlit ``` The package includes **building blocks** that call into Streamlit and set up all the required elements for you. You can either use the individual components directly and combine them with other elements in your app, or call the `visualize` function to embed the whole visualizer. Download the English model from spaCy to get started. ```bash python -m spacy download en_core_web_sm ``` Then put the following example code in a file. ```python # streamlit_app.py import spacy_streamlit models = ["en_core_web_sm", "en_core_web_md"] default_text = "Sundar Pichai is the CEO of Google." spacy_streamlit.visualize(models, default_text) ``` You can then run your app with `streamlit run streamlit_app.py`. The app should pop up in your web browser. ๐ #### ๐ฆ Example: [`01_out-of-the-box.py`](examples/01_out-of-the-box.py) Use the embedded visualizer with custom settings out-of-the-box. ```bash streamlit run https://raw.githubusercontent.com/explosion/spacy-streamlit/master/examples/01_out-of-the-box.py ``` #### ๐ Example: [`02_custom.py`](examples/02_custom.py) Use individual components in your existing app. ```bash streamlit run https://raw.githubusercontent.com/explosion/spacy-streamlit/master/examples/02_custom.py ``` ## ๐ API ### Visualizer components These functions can be used in your Streamlit app. They call into `streamlit` under the hood and set up the required elements. #### <kbd>function</kbd> `visualize` Embed the full visualizer with selected components. ```python import spacy_streamlit models = ["en_core_web_sm", "/path/to/model"] default_text = "Sundar Pichai is the CEO of Google." visualizers = ["ner", "textcat"] spacy_streamlit.visualize(models, default_text, visualizers) ``` | Argument | Type | Description | | ------------------------ | -------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `models` | List[str] / Dict[str, str] | Names of loadable spaCy models (paths or package names). The models become selectable via a dropdown. Can either be a list of names or the names mapped to descriptions to display in the dropdown. | | `default_text` | str | Default text to analyze on load. Defaults to `""`.
Excerpt of 22,269 characters
Read on GitHubInes Montani ยท Founder @explosion ยท Germany
29
21
Peter Baumgartner ยท RTI International
13
Adriane Boyd
9
3
Sofie Van Landeghem ยท OxyKodit ยท Belgium
2
Thiago Teixeira
1
1
Jeff Hale ยท GDSFactory
1
JCharis Jesse ยท JCharisTech
1
Victoria ยท Weaviate ยท Germany
1
1
1
Would you bet a product on this? Bounded 0โ100 and slow moving.
matched fp:977498100293e5c4, topic:nlp, topic:natural-language-processing, topic:named-entity-recognition