bharat-raghunathan commited on
Commit
50c23ca
Β·
1 Parent(s): ee6fe04

Amend MCP Sentiment Analysis

Browse files
README.md CHANGED
@@ -1,5 +1,5 @@
1
  ---
2
- title: Mcp Sentiment
3
  emoji: πŸ“ˆ
4
  colorFrom: gray
5
  colorTo: purple
 
1
  ---
2
+ title: MCP Sentiment
3
  emoji: πŸ“ˆ
4
  colorFrom: gray
5
  colorTo: purple
mcp-sentiment/app.py β†’ app.py RENAMED
@@ -27,7 +27,7 @@ def sentiment_analysis(text: str) -> str:
27
  demo = gr.Interface(
28
  fn=sentiment_analysis,
29
  inputs=gr.Textbox(placeholder="Enter text to analyze..."),
30
- outputs=gr.Textbox(),
31
  title="Text Sentiment Analysis",
32
  description="Analyze the sentiment of text using TextBlob"
33
  )
 
27
  demo = gr.Interface(
28
  fn=sentiment_analysis,
29
  inputs=gr.Textbox(placeholder="Enter text to analyze..."),
30
+ outputs=gr.Textbox(), # Changed from gr.JSON() to gr.Textbox()
31
  title="Text Sentiment Analysis",
32
  description="Analyze the sentiment of text using TextBlob"
33
  )
mcp-sentiment/requirements.txt β†’ requirements.txt RENAMED
File without changes