docs: clarify nv ingest package installation (#6822)
* typo * clarify-nv-ingest-installation
This commit is contained in:
parent
80b01c0951
commit
25a474c485
2 changed files with 16 additions and 7 deletions
|
|
@ -59,7 +59,7 @@ To use your code in a Python application using the Langflow runtime, you have to
|
||||||
|
|
||||||
2. Download the flow to your local machine. Make sure the flow path in the script matches the flow’s location on your machine.
|
2. Download the flow to your local machine. Make sure the flow path in the script matches the flow’s location on your machine.
|
||||||
|
|
||||||
3. Copy and paste the code from the API tab into a Python script file.
|
3. Copy and paste the code from the **Python Code** tab into a Python script file.
|
||||||
|
|
||||||
4. Run the script:
|
4. Run the script:
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -13,12 +13,21 @@ The **NVIDIA Ingest** component imports the NVIDIA `Ingestor` client, ingests fi
|
||||||
|
|
||||||
* An NVIDIA Ingest endpoint. For more information on setting up an NVIDIA Ingest endpoint, see the [NVIDIA Ingest quickstart](https://github.com/NVIDIA/nv-ingest?tab=readme-ov-file#quickstart).
|
* An NVIDIA Ingest endpoint. For more information on setting up an NVIDIA Ingest endpoint, see the [NVIDIA Ingest quickstart](https://github.com/NVIDIA/nv-ingest?tab=readme-ov-file#quickstart).
|
||||||
|
|
||||||
* The **NVIDIA Ingest** component requires the installation of additional dependencies to your Langflow environment. To install the dependencies in a virtual environment, run the following commands:
|
* The **NVIDIA Ingest** component requires the installation of additional dependencies to your Langflow environment. To install the dependencies in a virtual environment, run the following commands.
|
||||||
```bash
|
|
||||||
source **YOUR_LANGFLOW_VENV**/bin/activate
|
* If you have the Langflow repository cloned and installed from source:
|
||||||
uv sync --extra nv-ingest
|
```bash
|
||||||
uv run langflow run
|
source **YOUR_LANGFLOW_VENV**/bin/activate
|
||||||
```
|
uv sync --extra nv-ingest
|
||||||
|
uv run langflow run
|
||||||
|
```
|
||||||
|
|
||||||
|
* If you are installing Langflow from the Python Package Index:
|
||||||
|
```bash
|
||||||
|
source **YOUR_LANGFLOW_VENV**/bin/activate
|
||||||
|
uv pip install 'langflow[nv-ingest]'
|
||||||
|
uv run langflow run
|
||||||
|
```
|
||||||
|
|
||||||
## Use the NVIDIA Ingest component in a flow
|
## Use the NVIDIA Ingest component in a flow
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue