Spaces:
Sleeping
Sleeping
Commit History
-
Refactor repo for Hugging Face Spaces compatibility
google-labs-jules[bot]- Created root `app.py` as entry point initializing DB and launching Gradio with MCP. - Updated `README.md` with HF Spaces YAML header and detailed instructions. - Refactored `src/alert_mcp_server/tools.py` to use direct DB calls via `src.alert_mcp` instead of `httpx` HTTP requests, simplifying deployment. - Updated `src/alert_mcp_server/app.py` to use relative imports. - Updated tests to mock `mcp_tools` and verify Pydantic V2 compatibility. - Created `requirements.txt` with pinned dependencies (`pydantic>=2.0`, `gradio[mcp]`). - Ensured `__init__.py` files exist for package recognition.c322df2 -
Implement alert_mcp_server with Gradio and httpx
google-labs-jules[bot]8aa8f36