Skip to content

Commit 075bd5a

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent b971170 commit 075bd5a

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,10 +155,12 @@ Please check the [Contributing Guidelines](https://github.com/opea-project/docs/
155155
Thank you for being a part of this journey. We can't wait to see what we can achieve together!
156156

157157
### uv pip compile usage
158-
To update the existing requirements files, follow the steps below:
158+
159+
To update the existing requirements files, follow the steps below:
160+
159161
1. Update `requirements.in` file with the dependencies you want to add or modify.
160-
2. Install `uv` package with `pip install uv`, suggest to work in the same python version used by your dockerfile.
161-
3. Edit and run `freeze_dependency.sh` to update the `requirements*.txt` file.
162+
2. Install `uv` package with `pip install uv`, suggest to work in the same python version used by your dockerfile.
163+
3. Edit and run `freeze_dependency.sh` to update the `requirements*.txt` file.
162164

163165
To add a new requirements file, create a new `requirements.in` file and an empty `requirements.txt` or `requirements-cpu.txt` or `requirements-gpu.txt`, then follow the same steps above.
164166

freeze_dependency.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
#!/bin/bash
2+
# Copyright (C) 2025 Intel Corporation
3+
# SPDX-License-Identifier: Apache-2.0
4+
25
set -xe
36

47
# Use pip-tools to compile all requirements.in files to requirements.txt files
@@ -30,4 +33,4 @@ for each_file in "${req_files[@]}"; do
3033
sed -i '/ torch/d' ${req_path}
3134
fi
3235
fi
33-
done
36+
done

0 commit comments

Comments
 (0)