Download src/__init__.py from uuidenny/sentiment: direct link, hf CLI and curl.
- Browser
- Download file 1.17 kB
-
https://huggingface.co/spaces/uuidenny/sentiment/resolve/main/src/__init__.py
- Command line
-
hf download hf://spaces/uuidenny/sentiment/src/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/uuidenny/sentiment/resolve/main/src/__init__.py
1.17 kB
| """ | |
| MCP Sentiment Analysis Server Package. | |
| This package provides a complete Model Context Protocol server implementation | |
| for sentiment analysis with Gradio web interface integration. | |
| """ | |
| from .sentiment_analyzer import ( | |
| SentimentAnalyzer, | |
| SentimentResult, | |
| SentimentLabel, | |
| get_analyzer, | |
| analyze_sentiment | |
| ) | |
| from .tools import ( | |
| MCPTools, | |
| get_tools, | |
| list_tools, | |
| call_tool | |
| ) | |
| from .mcp_server import ( | |
| SentimentMCPServer, | |
| MCPServerRunner, | |
| create_server | |
| ) | |
| from .gradio_interface import ( | |
| GradioInterface, | |
| create_gradio_interface | |
| ) | |
| __version__ = "1.0.0" | |
| __author__ = "MCP Sentiment Analysis Team" | |
| __description__ = "Model Context Protocol server for sentiment analysis with Gradio interface" | |
| __all__ = [ | |
| # Sentiment Analysis | |
| "SentimentAnalyzer", | |
| "SentimentResult", | |
| "SentimentLabel", | |
| "get_analyzer", | |
| "analyze_sentiment", | |
| # MCP Tools | |
| "MCPTools", | |
| "get_tools", | |
| "list_tools", | |
| "call_tool", | |
| # MCP Server | |
| "SentimentMCPServer", | |
| "MCPServerRunner", | |
| "create_server", | |
| # Gradio Interface | |
| "GradioInterface", | |
| "create_gradio_interface", | |
| ] |