> For the complete documentation index, see [llms.txt](https://facegsm.gitbook.io/facegsm-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://facegsm.gitbook.io/facegsm-documentation/facegsm/configuring-.env-file.md).

# Configuring .env File

## Description

The user can configure the `.env` file according to their needs. In the `.env` file, there are several variables that the user can modify, such as:

1. `DATABASE_PATH` -> Specify file path for **custom database file**
2. `MODEL_PATH` -> Specify file path for **custom facial recognition embeddings model**
3. `CUSTOM_PREPROCESS` -> Choose if **custom preprocess** is used or not

{% hint style="info" %}
Please refrain from modifying`ORIGINAL_IMAGE_PATH` and `TARGET_IMAGE_PATH` in the `.env` file.&#x20;
{% endhint %}

## Example

`Original .env file:`

```
ORIGINAL_IMAGE_PATH = "./outputs/original.png"
TARGET_IMAGE_PATH = "./outputs/target.png"
MODEL_PATH = "./models/facenet_embeddings.h5"
DATABASE_PATH = "./databases/database.json"
CUSTOM_PREPROCESS = False
```

`Modified .env file:`

```
ORIGINAL_IMAGE_PATH = "./outputs/original.png"
TARGET_IMAGE_PATH = "./outputs/target.png"
MODEL_PATH = "/users/test/Downloads/arcface_embeddings.h5"
DATABASE_PATH = "/Documents/100m-celeb-database.json"
CUSTOM_PREPROCESS = True
```
