hp1318 commited on
Commit
13b296d
·
verified ·
1 Parent(s): ad99004

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
13
  # ----- THIS IS WERE YOU CAN BUILD WHAT YOU WANT ------
14
  class BasicAgent:
15
  def __init__(self):
16
- openai.api_key = os.getenv("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") # or hardcode if local test
17
  self.system_prompt = (
18
  "You are a helpful research assistant. "
19
  "Only answer with the exact factual answer without explanation. "
 
13
  # ----- THIS IS WERE YOU CAN BUILD WHAT YOU WANT ------
14
  class BasicAgent:
15
  def __init__(self):
16
+ openai.api_key = os.getenv("OPENAI_API_KEY") # or hardcode if local test
17
  self.system_prompt = (
18
  "You are a helpful research assistant. "
19
  "Only answer with the exact factual answer without explanation. "