yetessam commited on
Commit
6943383
·
verified ·
1 Parent(s): 826e162

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -15
app.py CHANGED
@@ -64,25 +64,20 @@ def main():
64
 
65
  print_default_prompt_templates(endpoint_url=uri)
66
 
67
- sys.exit(0);
68
 
69
- ui = ContentAgentUI(
70
- endpoint_uri=uri,
71
- is_healthy=ok,
72
- health_message=msg,
73
- agent_initializer=initialize_agent,
74
- agent_type = agent_type,
75
- compute = compute
76
 
77
- )
78
- ui.launch()
79
 
80
 
81
- # Initialize and run the agent
82
- #agent = initialize_agent(endpoint_uri)
83
- # Create an instance of the ContentAgentUI class
84
- #ui = ContentAgentUI()
85
- #ui.pass_through_agent(agent) # Pass through the agent
86
 
87
 
88
  if __name__ == "__main__":
 
64
 
65
  print_default_prompt_templates(endpoint_url=uri)
66
 
67
+ # sys.exit(0);
68
 
69
+ #ui = ContentAgentUI(
70
+ # endpoint_uri=uri,
71
+ # is_healthy=ok,
72
+ # health_message=msg,
73
+ # agent_initializer=initialize_agent,
74
+ # agent_type = agent_type,
75
+ # compute = compute
76
 
77
+ #)
78
+ #ui.launch()
79
 
80
 
 
 
 
 
 
81
 
82
 
83
  if __name__ == "__main__":