Synnove commited on
Commit
9bb5b4b
·
verified ·
1 Parent(s): 3fd800d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -13,13 +13,12 @@ DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
13
 
14
  # --- Basic Agent Definition ---
15
  # ----- THIS IS WERE YOU CAN BUILD WHAT YOU WANT ------
16
- #Tools
17
 
 
18
 
19
- #LLM
20
 
21
  #Model
22
- # model = InferenceClientModel() #D
23
 
24
  #Agent
25
 
@@ -56,7 +55,7 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
56
  # 1. Instantiate Agent ( modify this part to create your agent)
57
  try:
58
  #agent = BasicAgent()
59
- agent = smolAgent
60
  except Exception as e:
61
  print(f"Error instantiating agent: {e}")
62
  return f"Error initializing agent: {e}", None
 
13
 
14
  # --- Basic Agent Definition ---
15
  # ----- THIS IS WERE YOU CAN BUILD WHAT YOU WANT ------
 
16
 
17
+ #Tools
18
 
 
19
 
20
  #Model
21
+ model = InferenceClientModel() #D
22
 
23
  #Agent
24
 
 
55
  # 1. Instantiate Agent ( modify this part to create your agent)
56
  try:
57
  #agent = BasicAgent()
58
+ agent = model
59
  except Exception as e:
60
  print(f"Error instantiating agent: {e}")
61
  return f"Error initializing agent: {e}", None