vpingale07 commited on
Commit
eb7d014
·
verified ·
1 Parent(s): 98af745

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -29,14 +29,14 @@ def sentiment_analysis(text:str) -> str:
29
  demo = gr.Interface(
30
  fn=sentiment_analysis,
31
  inputs=gr.Textbox(placeholder="Enter text to analyze..."),
32
- outputs=gr.textbox(),
33
  title="Text Sentiment Analysis",
34
  description="Analyze the sentiment of text using TextBlob"
35
  )
36
 
37
  #Launch the interface and MCP server
38
  if __name__=="__main__":
39
- demo.launch(mcp_Server=True)
40
 
41
 
42
 
 
29
  demo = gr.Interface(
30
  fn=sentiment_analysis,
31
  inputs=gr.Textbox(placeholder="Enter text to analyze..."),
32
+ outputs=gr.Textbox(),
33
  title="Text Sentiment Analysis",
34
  description="Analyze the sentiment of text using TextBlob"
35
  )
36
 
37
  #Launch the interface and MCP server
38
  if __name__=="__main__":
39
+ demo.launch(mcp_server=True)
40
 
41
 
42