diff --git a/docs/docs/Concepts/concepts-api.md b/docs/docs/Concepts/concepts-api.md index b6f882a6b..ff66841a2 100644 --- a/docs/docs/Concepts/concepts-api.md +++ b/docs/docs/Concepts/concepts-api.md @@ -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. -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: diff --git a/docs/docs/Integrations/Nvidia/integrations-nvidia-ingest.md b/docs/docs/Integrations/Nvidia/integrations-nvidia-ingest.md index 1a57da344..09c6df208 100644 --- a/docs/docs/Integrations/Nvidia/integrations-nvidia-ingest.md +++ b/docs/docs/Integrations/Nvidia/integrations-nvidia-ingest.md @@ -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). -* 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 -uv sync --extra nv-ingest -uv run langflow run -``` +* 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. + + * If you have the Langflow repository cloned and installed from source: + ```bash + 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