Update app.py
Browse files
app.py
CHANGED
|
@@ -32,12 +32,19 @@ async def ask_council(question: str) -> str:
|
|
| 32 |
except Exception as e:
|
| 33 |
return f"Error consulting the council: {str(e)}"
|
| 34 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
demo = gr.Interface(
|
| 36 |
fn=ask_council,
|
| 37 |
inputs=gr.Textbox(lines=2, placeholder="Ask the council..."),
|
| 38 |
outputs=gr.Markdown(),
|
| 39 |
title="LLM Council MCP Server",
|
| 40 |
-
description=
|
| 41 |
)
|
| 42 |
|
| 43 |
if __name__ == "__main__":
|
|
|
|
| 32 |
except Exception as e:
|
| 33 |
return f"Error consulting the council: {str(e)}"
|
| 34 |
|
| 35 |
+
|
| 36 |
+
description = """
|
| 37 |
+
An MCP server that consults a council of LLMs to answer questions.
|
| 38 |
+

|
| 39 |
+
⚠️ To use this space, you'll need to duplicate it add your own open router api key.
|
| 40 |
+
"""
|
| 41 |
+
|
| 42 |
demo = gr.Interface(
|
| 43 |
fn=ask_council,
|
| 44 |
inputs=gr.Textbox(lines=2, placeholder="Ask the council..."),
|
| 45 |
outputs=gr.Markdown(),
|
| 46 |
title="LLM Council MCP Server",
|
| 47 |
+
description=description
|
| 48 |
)
|
| 49 |
|
| 50 |
if __name__ == "__main__":
|