diff --git a/extras/gui-py/README-en.md b/extras/gui-py/README-en.md index 9f4176f1..60ed1517 100644 --- a/extras/gui-py/README-en.md +++ b/extras/gui-py/README-en.md @@ -65,19 +65,26 @@ pip install "fastapi>=0.100.0" "uvicorn>=0.20.0" "pydantic>=2.0.0" **Termux (Android)** ```sh -# 1. Python installation and build tools (necessary for pydantic-core) +# 1. Update system and install build tools pkg update && pkg upgrade -y pkg install -y python rust clang binutils make libffi -# 2. Creation and activation of the virtual environment +# 2. Create and activate virtual environment python -m venv .venv source .venv/bin/activate -# 3. Pip update (in venv) and installation of libraries +# 3. Upgrade pip and install packages (including form/upload handling) pip install --upgrade pip -pip install "fastapi>=0.100.0" "uvicorn>=0.20.0" "pydantic>=2.0.0" +pip install "fastapi>=0.100.0" "uvicorn>=0.20.0" "pydantic>=2.0.0" python-multipart ``` +*To start the GUI in the Python virtual environment:* `.venv` +```sh +source .venv/bin/activate +./bash4llm --gui +``` + + **macOS (with Homebrew)** ```sh # 1. Python installation via Homebrew (already includes pip and venv) diff --git a/extras/gui-py/README.md b/extras/gui-py/README.md index df9df1e9..94125fdf 100644 --- a/extras/gui-py/README.md +++ b/extras/gui-py/README.md @@ -65,7 +65,7 @@ pip install "fastapi>=0.100.0" "uvicorn>=0.20.0" "pydantic>=2.0.0" **Termux (Android)** ```sh -# 1. Installazione di Python e strumenti di build (necessari per pydantic-core) +# 1. Aggiornamento del sistema e installazione tool di compilazione pkg update && pkg upgrade -y pkg install -y python rust clang binutils make libffi @@ -73,9 +73,14 @@ pkg install -y python rust clang binutils make libffi python -m venv .venv source .venv/bin/activate -# 3. Aggiornamento di pip (nella venv) e installazione delle librerie +# 3. Aggiornamento pip e installazione pacchetti (inclusa gestione form/upload) pip install --upgrade pip -pip install "fastapi>=0.100.0" "uvicorn>=0.20.0" "pydantic>=2.0.0" +pip install "fastapi>=0.100.0" "uvicorn>=0.20.0" "pydantic>=2.0.0" python-multipart +``` +*Per avviare la GUI nell'ambiente virtuale di Python: `.venv`* +```sh +source .venv/bin/activate +./bash4llm --gui ``` **macOS (con Homebrew)**