yetessam commited on
Commit
e50c01e
·
verified ·
1 Parent(s): 26127a9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -44,7 +44,7 @@ def initialize_agent(endpoint_uri: str):
44
  def main():
45
  uri = resolve_endpoint()
46
  if not uri:
47
- print("❌ Endpoint not ready: no URI configured.")
48
  sys.exit(1) # exit with non-zero status for clarity
49
  ok, msg = is_endpoint_healthy(uri)
50
  if not ok:
 
44
  def main():
45
  uri = resolve_endpoint()
46
  if not uri:
47
+ print("❌ Endpoint not ready: no URI configured. Ensure that the HF_ENDPOINT_URI secret has been defined in the current Space.")
48
  sys.exit(1) # exit with non-zero status for clarity
49
  ok, msg = is_endpoint_healthy(uri)
50
  if not ok: