Spaces:
Runtime error
Runtime error
Commit ·
04d6738
1
Parent(s): 1916839
read
Browse files
README.md
CHANGED
|
@@ -1,3 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
title: Logbert File Receiver
|
| 2 |
emoji: ⚡
|
| 3 |
colorFrom: red
|
|
|
|
| 1 |
+
# Configuration
|
| 2 |
+
|
| 3 |
+
Create a `.env` file in your project root with the following variables:
|
| 4 |
+
|
| 5 |
+
```env
|
| 6 |
+
# PostgreSQL configuration
|
| 7 |
+
PG_HOST=your_postgres_host
|
| 8 |
+
PG_PORT=5432
|
| 9 |
+
PG_USER=your_postgres_user
|
| 10 |
+
PG_PASSWORD=your_postgres_password
|
| 11 |
+
PG_DATABASE=your_postgres_db
|
| 12 |
+
|
| 13 |
+
# Hugging Face configuration
|
| 14 |
+
HUGGINGFACEHUB_API_TOKEN=your_huggingface_token # Get from https://huggingface.co/settings/tokens
|
| 15 |
+
HUGGINGFACE_MODEL=distilgpt2 # Or another supported model
|
| 16 |
+
HF_CACHE_DIR=.cache # (Optional) Local cache directory for models
|
| 17 |
+
```
|
| 18 |
+
|
| 19 |
+
Make sure to replace the values with your actual credentials.
|
| 20 |
title: Logbert File Receiver
|
| 21 |
emoji: ⚡
|
| 22 |
colorFrom: red
|