dlaima commited on
Commit
6042bfd
·
verified ·
1 Parent(s): 480c00a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
11
  # === Define the Smol Agent ===
12
  class MyAgent:
13
  def __init__(self):
14
- self.model = OpenAIServerModel() # Assumes OpenAI-compatible API via env vars
15
  self.agent = CodeAgent(
16
  tools=[DuckDuckGoSearchTool()],
17
  model=self.model,
 
11
  # === Define the Smol Agent ===
12
  class MyAgent:
13
  def __init__(self):
14
+ self.model = OpenAIServerModel(model_id="gpt-4") # or "gpt-3.5-turbo"
15
  self.agent = CodeAgent(
16
  tools=[DuckDuckGoSearchTool()],
17
  model=self.model,