omar-abdelbary commited on
Commit
af43156
·
verified ·
1 Parent(s): 1b2a965

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ logger = logging.getLogger(__name__)
17
  # --- Constants ---
18
  DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
19
  OPENAI_MODEL_ID = os.getenv("OPENAI_MODEL_ID", "gpt-4.1")
20
- OPENAI_API_KEY = os.getenv("open_api_key")
21
  if not OPENAI_API_KEY:
22
  raise RuntimeError("Please set OPENAI_API_KEY in your Space secrets.")
23
 
 
17
  # --- Constants ---
18
  DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
19
  OPENAI_MODEL_ID = os.getenv("OPENAI_MODEL_ID", "gpt-4.1")
20
+ OPENAI_API_KEY = os.getenv("OPENAI_API_KEY")
21
  if not OPENAI_API_KEY:
22
  raise RuntimeError("Please set OPENAI_API_KEY in your Space secrets.")
23