Spaces:
Running
Running
Merge pull request #128 from barun-saha/visual
Browse files- .env.example +5 -1
- README.md +8 -1
.env.example
CHANGED
|
@@ -1,6 +1,10 @@
|
|
| 1 |
# Example .env file for SlideDeck AI
|
| 2 |
# Add your API keys and configuration values here
|
| 3 |
|
| 4 |
-
|
| 5 |
|
|
|
|
| 6 |
OPENROUTER_API_KEY=your-openrouter-api-key
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# Example .env file for SlideDeck AI
|
| 2 |
# Add your API keys and configuration values here
|
| 3 |
|
| 4 |
+
PEXEL_API_KEY=your-pexel-key-for-images
|
| 5 |
|
| 6 |
+
TOGETHER_API_KEY=your-together-ai-key
|
| 7 |
OPENROUTER_API_KEY=your-openrouter-api-key
|
| 8 |
+
|
| 9 |
+
RUN_IN_OFFLINE_MODE=true-or-false
|
| 10 |
+
DEFAULT_MODEL_INDEX=3
|
README.md
CHANGED
|
@@ -89,8 +89,15 @@ 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
|
| 95 |
|
| 96 |
ollama list # View locally available LLMs
|
|
|
|
| 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 update -y
|
| 94 |
+
sudo apt install python-is-python3 -y
|
| 95 |
+
sudo apt install git -y
|
| 96 |
+
# Change the package name based on the Python version installed: python -V
|
| 97 |
+
sudo apt install python3.11-venv -y
|
| 98 |
+
|
| 99 |
# Install Git Large File Storage (LFS)
|
| 100 |
+
sudo apt install git-lfs -y
|
| 101 |
git lfs install
|
| 102 |
|
| 103 |
ollama list # View locally available LLMs
|