AC-Angelo93 commited on
Commit
bfbd58b
·
verified ·
1 Parent(s): de677ea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -0
app.py CHANGED
@@ -9,6 +9,12 @@ import pandas as pd
9
  DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
10
 
11
 
 
 
 
 
 
 
12
  def run_and_submit_all( profile: gr.OAuthProfile | None):
13
  """
14
  Fetches all questions, runs the BasicAgent on them, submits all answers,
 
9
  DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
10
 
11
 
12
+ class BasicAgent:
13
+ """A langgraph agent."""
14
+ def __init__(self):
15
+ print("BasicAgent initialized.")
16
+ self.graph = build_graph()
17
+
18
  def run_and_submit_all( profile: gr.OAuthProfile | None):
19
  """
20
  Fetches all questions, runs the BasicAgent on them, submits all answers,