yetessam commited on
Commit
1e6cff6
·
verified ·
1 Parent(s): 67f06b2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -45,10 +45,9 @@ def main():
45
  uri = resolve_endpoint()
46
  ok, msg = is_endpoint_healthy(uri)
47
  if not ok:
48
- return f"Endpoint not ready: {msg}"
49
 
50
-
51
- if ok:
52
  # Initialize and run the agent
53
  #agent = initialize_agent(endpoint_uri)
54
  # Create an instance of the ContentAgentUI class
 
45
  uri = resolve_endpoint()
46
  ok, msg = is_endpoint_healthy(uri)
47
  if not ok:
48
+ print f"Endpoint not ready: {msg}"
49
 
50
+ else:
 
51
  # Initialize and run the agent
52
  #agent = initialize_agent(endpoint_uri)
53
  # Create an instance of the ContentAgentUI class