Skip to content

Commit 13c7212

Browse files
authored
fix: update langchain, ctreamlit and transformers to fix CVE flags (#1026) (#579)
1 parent fb797e1 commit 13c7212

2 files changed

Lines changed: 9 additions & 4 deletions

File tree

samples/ai/video_summarization/README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,17 @@ sudo apt install tmux ffmpeg
3333
mkdir -p $HOME/work
3434
cd $HOME/work
3535
git clone https://github.com/intel/edge-developer-kit-reference-scripts edge-ai-devkit
36-
cp -rf edge-ai-devkit/usecases/ai/video_summarization ./video_summarization
36+
cp -rf edge-ai-devkit/samples/ai/video_summarization ./video_summarization
3737
cd $HOME/work/video_summarization
3838
```
3939

4040
4. Create conda environment and install conda packages.
4141

42+
> **Note:**
43+
> - `conda init bash` only needs to be run once per user account (it modifies your shell rc, typically `~/.bashrc`). If you’ve already initialized conda, you can skip this step.
44+
> - If you use a different shell, change `bash` accordingly (e.g., `conda init zsh`) and reload that shell’s rc file (or open a new terminal) before running `conda activate`.
45+
> - `conda update --all` is optional and may take time; you can skip it if you prefer a quicker, more reproducible environment setup.
46+
4247
```
4348
conda create -n openvino-env python=3.11
4449
conda activate openvino-env

samples/ai/video_summarization/requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
--extra-index-url https://download.pytorch.org/whl/xpu
22
ipex-llm[xpu_2.6]
33
ffmpeg_python==0.2.0
4-
langchain==0.3.24
4+
langchain==0.3.30
55
langchain-vdms==0.1.4
66
numpy==1.26.4
77
opencv_python
88
Pillow
9-
streamlit==1.37.0
9+
streamlit==1.54.0
1010
streamlit_webrtc==0.62.4
11-
transformers==4.53.0
11+
transformers==5.0.0
1212
ultralytics==8.3.75
1313
uvicorn
1414
decord

0 commit comments

Comments
 (0)