Spaces:
Runtime error
Runtime error
brian-yu-nexusflow
commited on
Commit
Β·
911956a
1
Parent(s):
cd44644
Update config.py
Browse files
config.py
CHANGED
@@ -6,6 +6,7 @@ from os import getenv
|
|
6 |
@dataclass
|
7 |
class DemoConfig:
|
8 |
gmaps_client_key: str
|
|
|
9 |
|
10 |
raven_endpoint: str
|
11 |
hf_token: str
|
@@ -16,6 +17,7 @@ class DemoConfig:
|
|
16 |
def load_from_env(cls) -> "DemoConfig":
|
17 |
return DemoConfig(
|
18 |
gmaps_client_key=getenv("GMAPS_CLIENT_KEY"),
|
|
|
19 |
raven_endpoint=getenv("RAVEN_ENDPOINT"),
|
20 |
hf_token=getenv("HF_TOKEN"),
|
21 |
summary_model_endpoint=getenv("SUMMARY_MODEL_ENDPOINT"),
|
|
|
6 |
@dataclass
|
7 |
class DemoConfig:
|
8 |
gmaps_client_key: str
|
9 |
+
ip_api_key: str
|
10 |
|
11 |
raven_endpoint: str
|
12 |
hf_token: str
|
|
|
17 |
def load_from_env(cls) -> "DemoConfig":
|
18 |
return DemoConfig(
|
19 |
gmaps_client_key=getenv("GMAPS_CLIENT_KEY"),
|
20 |
+
ip_api_key=getenv("IP_API_KEY"),
|
21 |
raven_endpoint=getenv("RAVEN_ENDPOINT"),
|
22 |
hf_token=getenv("HF_TOKEN"),
|
23 |
summary_model_endpoint=getenv("SUMMARY_MODEL_ENDPOINT"),
|