Aya1610 commited on
Commit
b580d23
·
verified ·
1 Parent(s): b0d7736

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -18,7 +18,7 @@ class BasicAgent:
18
  # Check environment variables
19
  print("=== ENVIRONMENT VARIABLES ===")
20
  for key in sorted(os.environ.keys()):
21
- if any(term in key.upper() for term in ['OPENAI', 'API_KEY', 'TOKEN', 'TAVILY']):
22
  value = os.environ[key]
23
  print(f"{key}: {value[:10] if value else 'None'}...")
24
 
@@ -183,9 +183,8 @@ with gr.Blocks() as demo:
183
  ## Setup Instructions:
184
  1. Get an OpenAI API key from https://platform.openai.com/api-keys
185
  2. Add it as `OPENAI_API_KEY` in your Hugging Face Space secrets
186
- 3. (Optional) Add `TAVILY_API_KEY` for web search functionality
187
- 4. Log in with the button below
188
- 5. Click **Run Evaluation & Submit All Answers**
189
 
190
  ## Current Configuration:
191
  - Model: GPT-3.5-turbo (change to GPT-4 in agent.py if you have access)
 
18
  # Check environment variables
19
  print("=== ENVIRONMENT VARIABLES ===")
20
  for key in sorted(os.environ.keys()):
21
+ if any(term in key.upper() for term in ['OPENAI', 'API_KEY', 'TOKEN']):
22
  value = os.environ[key]
23
  print(f"{key}: {value[:10] if value else 'None'}...")
24
 
 
183
  ## Setup Instructions:
184
  1. Get an OpenAI API key from https://platform.openai.com/api-keys
185
  2. Add it as `OPENAI_API_KEY` in your Hugging Face Space secrets
186
+ 3. Log in with the button below
187
+ 4. Click **Run Evaluation & Submit All Answers**
 
188
 
189
  ## Current Configuration:
190
  - Model: GPT-3.5-turbo (change to GPT-4 in agent.py if you have access)