Spaces:
Build error
Build error
Commit
·
86264b2
1
Parent(s):
275b292
add mcp
Browse files
app.py
CHANGED
|
@@ -38,4 +38,10 @@ demo = gr.Interface(
|
|
| 38 |
|
| 39 |
|
| 40 |
if __name__ == "__main__":
|
| 41 |
-
demo.launch(mcp_server=True)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
|
| 39 |
|
| 40 |
if __name__ == "__main__":
|
| 41 |
+
demo.launch(mcp_server=True)
|
| 42 |
+
|
| 43 |
+
__mcp__ = {
|
| 44 |
+
"entry_point": heinsight.image_demo,
|
| 45 |
+
"inputs": ["image", "cap_ratio"],
|
| 46 |
+
"description": "HeinSight vial detector using image + cap ratio"
|
| 47 |
+
}
|