lethaq commited on
Commit
629eff8
·
verified ·
1 Parent(s): cd9783e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -407,7 +407,7 @@ with gr.Blocks() as demo:
407
  if not api_key:
408
  return "Error: GEMINI_API_KEY environment variable not found"
409
 
410
- model = LiteLLMModel(model_id="gemini/gemini-2.0-flash-lite", api_key=AIzaSyAhmwogxZFBtt7_OUsKQGNeOYF7ced39bM))
411
  agent = CodeAgent(tools=[DuckDuckGoSearchTool()], model=model)
412
  answer = agent(question)
413
  return answer
 
407
  if not api_key:
408
  return "Error: GEMINI_API_KEY environment variable not found"
409
 
410
+ model = LiteLLMModel(model_id="gemini/gemini-2.0-flash-lite", api_key=AIzaSyAhmwogxZFBtt7_OUsKQGNeOYF7ced39bM)
411
  agent = CodeAgent(tools=[DuckDuckGoSearchTool()], model=model)
412
  answer = agent(question)
413
  return answer