Spaces:
Runtime error
Runtime error
Update app/core/config.py
Browse files- app/core/config.py +7 -4
app/core/config.py
CHANGED
|
@@ -1,11 +1,14 @@
|
|
| 1 |
from pydantic_settings import BaseSettings
|
| 2 |
|
|
|
|
| 3 |
class Settings(BaseSettings):
|
| 4 |
-
LANGCHAIN_API_KEY: str
|
| 5 |
-
GOOGLE_API_KEY: str
|
|
|
|
|
|
|
| 6 |
|
| 7 |
class Config:
|
| 8 |
env_file = ".env"
|
| 9 |
|
| 10 |
-
|
| 11 |
-
settings = Settings()
|
|
|
|
| 1 |
from pydantic_settings import BaseSettings
|
| 2 |
|
| 3 |
+
|
| 4 |
class Settings(BaseSettings):
|
| 5 |
+
LANGCHAIN_API_KEY: str
|
| 6 |
+
GOOGLE_API_KEY: str
|
| 7 |
+
HF_API_KEY: str
|
| 8 |
+
GOOGLE_API_KEY1: str
|
| 9 |
|
| 10 |
class Config:
|
| 11 |
env_file = ".env"
|
| 12 |
|
| 13 |
+
|
| 14 |
+
settings = Settings()
|