Spaces:
Running
Running
docs: Add Debian VM initialization steps
Browse files
README.md
CHANGED
|
@@ -89,6 +89,13 @@ Offline LLMs are made available via Ollama. Therefore, a pre-requisite here is t
|
|
| 89 |
In addition, the `RUN_IN_OFFLINE_MODE` environment variable needs to be set to `True` to enable the offline mode. This, for example, can be done using a `.env` file or from the terminal. The typical steps to use SlideDeck AI in offline mode (in a `bash` shell) are as follows:
|
| 90 |
|
| 91 |
```bash
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 92 |
# Install Git Large File Storage (LFS)
|
| 93 |
sudo apt install git-lfs
|
| 94 |
git lfs install
|
|
|
|
| 89 |
In addition, the `RUN_IN_OFFLINE_MODE` environment variable needs to be set to `True` to enable the offline mode. This, for example, can be done using a `.env` file or from the terminal. The typical steps to use SlideDeck AI in offline mode (in a `bash` shell) are as follows:
|
| 90 |
|
| 91 |
```bash
|
| 92 |
+
# Environment initialization, especially on Debian
|
| 93 |
+
sudo apt install python-is-python3 -y
|
| 94 |
+
sudo apt install git git-lfs -y
|
| 95 |
+
# Change the package name based on the Python version installed: python -V
|
| 96 |
+
sudo apt install python3.11-venv -y
|
| 97 |
+
python -m venv venv
|
| 98 |
+
|
| 99 |
# Install Git Large File Storage (LFS)
|
| 100 |
sudo apt install git-lfs
|
| 101 |
git lfs install
|