lethaq commited on
Commit
f2c58d9
·
verified ·
1 Parent(s): b8677c1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -272,7 +272,7 @@ def run_and_submit_all():
272
  if not api_key:
273
  return "Error: GEMINI_API_KEY environment variable not found. Please set it in your Space settings.", None
274
 
275
- model = LiteLLMModel(model_id="gemini/gemini-2.0-flash-lite", api_key=AIzaSyAhmwogxZFBtt7_OUsKQGNeOYF7ced39bM)
276
  agent = CodeAgent(tools=[DuckDuckGoSearchTool()], model=model)
277
  except Exception as e:
278
  print(f"Error instantiating agent: {e}")
 
272
  if not api_key:
273
  return "Error: GEMINI_API_KEY environment variable not found. Please set it in your Space settings.", None
274
 
275
+ model = LiteLLMModel(model_id="gemini/gemini-2.0-flash-lite", api_key="AIzaSyAhmwogxZFBtt7_OUsKQGNeOYF7ced39bM")
276
  agent = CodeAgent(tools=[DuckDuckGoSearchTool()], model=model)
277
  except Exception as e:
278
  print(f"Error instantiating agent: {e}")