Spaces:
Sleeping
Sleeping
Create .ENV
Browse files
.ENV
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# --- SOCIAL MEDIA APP CONFIGURATION ---
|
2 |
+
|
3 |
+
# Set the desired storage backend. Options are:
|
4 |
+
# "RAM" (in-memory, data is lost on restart)
|
5 |
+
# "JSON" (persists to a local social_data.json file)
|
6 |
+
# "SQLITE" (persists to a local social_data.db file)
|
7 |
+
# "HF_DATASET" (persists to a private Hugging Face Dataset repository)
|
8 |
+
STORAGE_BACKEND="HF_DATASET"
|
9 |
+
|
10 |
+
# --- REQUIRED FOR HF_DATASET BACKEND ---
|
11 |
+
# Your Hugging Face user/org token with 'write' permissions.
|
12 |
+
# HF_TOKEN="hf_..."
|
13 |
+
|
14 |
+
# The repository ID for your private dataset. Create one on huggingface.co first.
|
15 |
+
# Example: "your-username/my-social-app-data"
|
16 |
+
HF_DATASET_REPO="broadfield-dev/chatspace-data"
|