diff --git a/notebooks/en/agents.ipynb b/notebooks/en/agents.ipynb index a0533852..236da622 100644 --- a/notebooks/en/agents.ipynb +++ b/notebooks/en/agents.ipynb @@ -29,13 +29,31 @@ "!pip install \"transformers[agents]\" datasets langchain sentence-transformers faiss-cpu duckduckgo-search openai langchain-community --upgrade -q" ] }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "Let's login in order to call the HF Inference API:" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "from huggingface_hub import notebook_login\n", + "\n", + "notebook_login()" + ] + }, { "cell_type": "markdown", "metadata": {}, "source": [ "## 1. 🏞️ Multimodal + 🌐 Web-browsing assistant\n", "\n", - "For this use case, we want to show an agent that browses the web and is able to generate image.\n", + "For this use case, we want to show an agent that browses the web and is able to generate images.\n", "\n", "To build it, we simply need to have two tools ready: image generation and web search.\n", "- For image generation, we load a tool from the Hub that uses the HF Inference API (Serverless) to generate images using Stable Diffusion.\n",