Spaces:
Sleeping
Sleeping
WoothAmwar commited on
Commit ·
def662e
1
Parent(s): fed4244
Added api_name
Browse files
app.py
CHANGED
|
@@ -29,7 +29,8 @@ demo = gr.Interface(
|
|
| 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 |
)
|
| 34 |
|
| 35 |
# Launch the interface and MCP server
|
|
|
|
| 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 |
+
api_name="sentiment_analysis"
|
| 34 |
)
|
| 35 |
|
| 36 |
# Launch the interface and MCP server
|