at1300 commited on
Commit
1d68a23
·
verified ·
1 Parent(s): 98af914

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -9
app.py CHANGED
@@ -47,9 +47,6 @@ class CoderAgent:
47
  print(f"Managed agent answer: {agent_answer}")
48
  return agent_answer
49
 
50
- #class vision_agent:
51
- # """This vision agent is able to be passed base64-encoded image data and will use the OpenAI gpt-4o model to decode it and identify objects within. It will return a textual description of the image."""
52
-
53
 
54
  class MasterAgent:
55
  def __init__(self):
@@ -62,12 +59,6 @@ class MasterAgent:
62
  except Exception as e:
63
  print(f"Error instantiating agent: {e}")
64
  return f"Error initializing agent: {e}", None
65
-
66
- try:
67
- vision_agent = vision_agent()
68
- except Exception as e:
69
- print(f"Error instantiating agent: {e}")
70
- return f"Error initializing agent: {e}", None
71
 
72
  with open("prompts.yaml", 'r') as stream:
73
  prompt_templates = yaml.safe_load(stream)
 
47
  print(f"Managed agent answer: {agent_answer}")
48
  return agent_answer
49
 
 
 
 
50
 
51
  class MasterAgent:
52
  def __init__(self):
 
59
  except Exception as e:
60
  print(f"Error instantiating agent: {e}")
61
  return f"Error initializing agent: {e}", None
 
 
 
 
 
 
62
 
63
  with open("prompts.yaml", 'r') as stream:
64
  prompt_templates = yaml.safe_load(stream)