superone001 commited on
Commit
715cbad
·
verified ·
1 Parent(s): ce6802c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -11,6 +11,8 @@ DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
11
 
12
  # --- Basic Agent Definition ---
13
  # ----- THIS IS WERE YOU CAN BUILD WHAT YOU WANT ------
 
 
14
  class BasicAgent:
15
  def __init__(self):
16
  print("BasicAgent initialized.")
@@ -19,7 +21,7 @@ class BasicAgent:
19
  fixed_answer = "This is a default answer."
20
  print(f"Agent returning fixed answer: {fixed_answer}")
21
  return fixed_answer
22
-
23
  def run_and_submit_all( profile: gr.OAuthProfile | None):
24
  """
25
  Fetches all questions, runs the BasicAgent on them, submits all answers,
 
11
 
12
  # --- Basic Agent Definition ---
13
  # ----- THIS IS WERE YOU CAN BUILD WHAT YOU WANT ------
14
+ '''
15
+ This class is no longer needed, I have placed the agent in agent.py for easy management
16
  class BasicAgent:
17
  def __init__(self):
18
  print("BasicAgent initialized.")
 
21
  fixed_answer = "This is a default answer."
22
  print(f"Agent returning fixed answer: {fixed_answer}")
23
  return fixed_answer
24
+ '''
25
  def run_and_submit_all( profile: gr.OAuthProfile | None):
26
  """
27
  Fetches all questions, runs the BasicAgent on them, submits all answers,