Create config.py
Browse files- api/config.py +12 -0
api/config.py
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import os
|
| 2 |
+
from dotenv import load_dotenv
|
| 3 |
+
|
| 4 |
+
load_dotenv()
|
| 5 |
+
|
| 6 |
+
APP_SECRET = os.getenv("APP_SECRET", "your_default_secret") # Replace with a secure default or handle appropriately
|
| 7 |
+
|
| 8 |
+
# GizAI specific configurations
|
| 9 |
+
GIZAI_BASE_URL = "https://app.giz.ai"
|
| 10 |
+
GIZAI_API_ENDPOINT = "https://app.giz.ai/api/data/users/inferenceServer.infer"
|
| 11 |
+
|
| 12 |
+
# Additional configurations can be added here
|