Browser-use web ui の超簡単セットアップメモ
前提
Mac
fish
- bash, zsh でもOK
Homebrew
Install
mkdir browser-use
git clone https://github.com/browser-use/web-ui.git
cd web-ui
Python
- 仮想環境のアクティベートは、bash, zsh || fish で違う
brew install uv
uv venv --python 3.11
# bash, zsh
source .venv/bin/activate
# fish
source .venv/bin/activate.fish
Package
uv pip install -r requirements.txt
playwright install
.env
cp .env.example .env
# OPENAI_API_KEY=your_api_key_here
Run
python webui.py --ip 127.0.0.1 --port 7788
ollama (optional)
- qwen2.5 を利用しても動いた!
# qwen2.5:7b を明示的に指定
ollama run qwen2.5:7b
ollama の対応モデルが増えるととても嬉しいなぁ〜。