azettl commited on
Commit
43ccae5
·
verified ·
1 Parent(s): c1aecbb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -1
app.py CHANGED
@@ -376,7 +376,14 @@ def send_task_to_agents_with_keywords(keywords: str, task: str, request: gr.Requ
376
 
377
  return result
378
 
379
- demo = gr.Interface(fn=lambda: "MCP-OpenFloor Bridge Server", inputs=[], outputs="text")
 
 
 
 
 
 
 
380
 
381
  if __name__ == "__main__":
382
  demo.launch(
 
376
 
377
  return result
378
 
379
+ with gr.Blocks(title="MCP-OpenFloor Bridge", theme=gr.themes.Soft()) as demo:
380
+ gr.Markdown("""
381
+ # 🌉 MCP-OpenFloor Bridge Server
382
+
383
+ ## Setup:
384
+ - **Environment Variable**: `export OPENFLOOR_AGENTS="https://agent1.com,https://agent2.com"`
385
+ - **Request Header**: `x-openfloor-agents: https://agent1.com,https://agent2.com`
386
+ """)
387
 
388
  if __name__ == "__main__":
389
  demo.launch(