Spaces:
Running
Running
Point to modelread.com
Browse files
README.md
CHANGED
|
@@ -33,6 +33,6 @@ verdict, tokens/sec as a calibrated range, the longest context that fits, and a
|
|
| 33 |
**Use it from an agent**
|
| 34 |
- Hugging Face: add this Space at [huggingface.co/settings/mcp](https://huggingface.co/settings/mcp).
|
| 35 |
- Any MCP client: `https://patrickbdevaney-modelread-mcp.hf.space/gradio_api/mcp/`
|
| 36 |
-
- Or the main endpoint: `https://modelread.
|
| 37 |
|
| 38 |
-
Website, model pages and methodology: https://modelread.
|
|
|
|
| 33 |
**Use it from an agent**
|
| 34 |
- Hugging Face: add this Space at [huggingface.co/settings/mcp](https://huggingface.co/settings/mcp).
|
| 35 |
- Any MCP client: `https://patrickbdevaney-modelread-mcp.hf.space/gradio_api/mcp/`
|
| 36 |
+
- Or the main endpoint: `https://modelread.com/mcp` (Claude Code: `claude mcp add --transport http modelread https://modelread.com/mcp`)
|
| 37 |
|
| 38 |
+
Website, model pages and methodology: https://modelread.com
|
app.py
CHANGED
|
@@ -14,7 +14,7 @@ import httpx
|
|
| 14 |
|
| 15 |
API = os.environ.get("MODELREAD_API", "https://modelread.159.223.102.247.nip.io").rstrip("/")
|
| 16 |
SECRET = os.environ.get("MODELREAD_PROXY_SECRET", "")
|
| 17 |
-
SITE = "https://modelread.
|
| 18 |
_http = httpx.Client(timeout=httpx.Timeout(connect=10, read=150, write=20, pool=10), follow_redirects=True)
|
| 19 |
|
| 20 |
|
|
@@ -163,7 +163,7 @@ with gr.Blocks(title="modelread MCP") as demo:
|
|
| 163 |
"# modelread MCP\n"
|
| 164 |
"Will this Hugging Face model run on your hardware, how fast, which quant, and with what command? "
|
| 165 |
"This Space is an **MCP server**: add it from [your MCP settings](https://huggingface.co/settings/mcp) "
|
| 166 |
-
f"or use the endpoint below. The full site is [modelread.
|
| 167 |
"MCP endpoint: `https://patrickbdevaney-modelread-mcp.hf.space/gradio_api/mcp/` 路 "
|
| 168 |
f"also available at `{SITE}/mcp`"
|
| 169 |
)
|
|
|
|
| 14 |
|
| 15 |
API = os.environ.get("MODELREAD_API", "https://modelread.159.223.102.247.nip.io").rstrip("/")
|
| 16 |
SECRET = os.environ.get("MODELREAD_PROXY_SECRET", "")
|
| 17 |
+
SITE = "https://modelread.com"
|
| 18 |
_http = httpx.Client(timeout=httpx.Timeout(connect=10, read=150, write=20, pool=10), follow_redirects=True)
|
| 19 |
|
| 20 |
|
|
|
|
| 163 |
"# modelread MCP\n"
|
| 164 |
"Will this Hugging Face model run on your hardware, how fast, which quant, and with what command? "
|
| 165 |
"This Space is an **MCP server**: add it from [your MCP settings](https://huggingface.co/settings/mcp) "
|
| 166 |
+
f"or use the endpoint below. The full site is [modelread.com]({SITE}).\n\n"
|
| 167 |
"MCP endpoint: `https://patrickbdevaney-modelread-mcp.hf.space/gradio_api/mcp/` 路 "
|
| 168 |
f"also available at `{SITE}/mcp`"
|
| 169 |
)
|