azettl commited on
Commit
b643129
·
verified ·
1 Parent(s): 1e00c3d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -542,11 +542,12 @@ with gr.Blocks(title="MCP-Open Floor Bridge", theme=gr.themes.Soft()) as demo:
542
  env_agents = os.getenv("OPENFLOOR_AGENTS", "")
543
  if env_agents:
544
  agent_urls = [url.strip() for url in env_agents.split(",") if url.strip()]
 
545
  gr.Markdown(f"""
546
- ### ✅ Environment Variable Status
547
- **OPENFLOOR_AGENTS** is set with **{len(agent_urls)} agent(s)**:
548
- {chr(10).join([f"- {url}" for url in agent_urls])}
549
- """)
550
  else:
551
  gr.Markdown("""
552
  ### ⚠️ Environment Variable Status
 
542
  env_agents = os.getenv("OPENFLOOR_AGENTS", "")
543
  if env_agents:
544
  agent_urls = [url.strip() for url in env_agents.split(",") if url.strip()]
545
+ agent_list = '\n'.join([f"- {url}" for url in agent_urls])
546
  gr.Markdown(f"""
547
+ ### ✅ Environment Variable Status
548
+ **OPENFLOOR_AGENTS** is set with **{len(agent_urls)} agent(s)**:
549
+ {agent_list}
550
+ """)
551
  else:
552
  gr.Markdown("""
553
  ### ⚠️ Environment Variable Status