AshenH commited on
Commit
81516f3
·
verified ·
1 Parent(s): b07564d

Update utils/config.py

Browse files
Files changed (1) hide show
  1. utils/config.py +2 -5
utils/config.py CHANGED
@@ -4,9 +4,7 @@ from dataclasses import dataclass
4
  @dataclass
5
  class AppConfig:
6
  """
7
- Central configuration class for the Tabular Agentic XAI app.
8
- It reads all required environment variables for both BigQuery
9
- and MotherDuck backends.
10
  """
11
  # Common
12
  hf_model_repo: str
@@ -22,8 +20,7 @@ class AppConfig:
22
  @classmethod
23
  def from_env(cls):
24
  """
25
- Reads environment variables from .env (local) or Hugging Face Space Secrets.
26
- Returns an AppConfig instance.
27
  """
28
  return cls(
29
  hf_model_repo=os.getenv("HF_MODEL_REPO", "your-username/your-private-tabular-model"),
 
4
  @dataclass
5
  class AppConfig:
6
  """
7
+ Central configuration for the Tabular Agentic XAI app.
 
 
8
  """
9
  # Common
10
  hf_model_repo: str
 
20
  @classmethod
21
  def from_env(cls):
22
  """
23
+ Reads env vars from .env (local) or Space Secrets (HF Spaces).
 
24
  """
25
  return cls(
26
  hf_model_repo=os.getenv("HF_MODEL_REPO", "your-username/your-private-tabular-model"),