Spaces:
Sleeping
Sleeping
Fix: Update Dockerfile and README metadata for proper deployment
Browse files
README.md
CHANGED
|
@@ -1,17 +1,26 @@
|
|
| 1 |
---
|
| 2 |
-
title: HackingFactory
|
| 3 |
emoji: 🏭
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: docker
|
| 7 |
pinned: false
|
|
|
|
| 8 |
app_port: 7860
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
---
|
| 10 |
|
| 11 |
-
# HackingFactory v2 -
|
| 12 |
|
| 13 |
-
This
|
| 14 |
|
| 15 |
-
##
|
| 16 |
-
|
| 17 |
-
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: HackingFactory V2
|
| 3 |
emoji: 🏭
|
| 4 |
+
colorFrom: red
|
| 5 |
+
colorTo: gray
|
| 6 |
sdk: docker
|
| 7 |
pinned: false
|
| 8 |
+
license: mit
|
| 9 |
app_port: 7860
|
| 10 |
+
variables:
|
| 11 |
+
VITE_APP_ID: "hacking-factory-v2"
|
| 12 |
+
JWT_SECRET: "your-secret-here"
|
| 13 |
+
DATABASE_URL: "mysql://user:pass@host:3306/db"
|
| 14 |
+
BUILT_IN_FORGE_API_KEY: "SEE_SECRETS"
|
| 15 |
---
|
| 16 |
|
| 17 |
+
# HackingFactory v2 - Enhanced Self-Refining AI
|
| 18 |
|
| 19 |
+
This space runs an advanced AI factory for generating, testing, and refining code.
|
| 20 |
|
| 21 |
+
## Configuration
|
| 22 |
+
|
| 23 |
+
Ensure you have set the following secrets in your Space settings:
|
| 24 |
+
- `BUILT_IN_FORGE_API_KEY`: Your Hugging Face API Token (provided).
|
| 25 |
+
- `DATABASE_URL`: Your TiDB or MySQL connection string.
|
| 26 |
+
- `JWT_SECRET`: A random string for authentication.
|