Spaces:
Sleeping
Sleeping
MCP - Sentiment Analysis
Dependencies
gradio[mcp]
textblob
File Structure
server.py
Main file to run the Gradio app.
- Gradio interface with MCP server is launched
- Input = Text from textbox
- Output = JSON with sentiment analysis results (polarity, subjectivity, assessment)
Functions
analyze_sentiment(text) -> dict