From 140d9dbec620073c61be97ee7267474c277c49f6 Mon Sep 17 00:00:00 2001 From: alekseysh Date: Mon, 17 Jun 2024 23:47:39 +0600 Subject: [PATCH] made pip instruction shorter --- README.md | 6 +----- docs/readme/installation.md | 6 +----- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 755011cfa..17305fa20 100644 --- a/README.md +++ b/README.md @@ -335,11 +335,7 @@ for our paper ## [Installation](https://open-metric-learning.readthedocs.io/en/latest/oml/installation.html) ```shell -pip install -U open-metric-learning -``` - -If you need OML for NLP, install the extra requirements with: -```shell +pip install -U open-metric-learning; # minimum dependencies pip install -U open-metric-learning[nlp] ``` diff --git a/docs/readme/installation.md b/docs/readme/installation.md index 098b56ade..92b54120a 100644 --- a/docs/readme/installation.md +++ b/docs/readme/installation.md @@ -1,9 +1,5 @@ ```shell -pip install -U open-metric-learning -``` - -If you need OML for NLP, install the extra requirements with: -```shell +pip install -U open-metric-learning; # minimum dependencies pip install -U open-metric-learning[nlp] ```