Hieu Tran commited on
Commit ·
4c784ae
1
Parent(s): 0fa4e89
add queue
Browse files
app.py
CHANGED
|
@@ -33,6 +33,8 @@ demo = gr.Interface(
|
|
| 33 |
description="Analyze the sentiment of text using TextBlob"
|
| 34 |
)
|
| 35 |
|
|
|
|
|
|
|
| 36 |
# Launch the interface and MCP server
|
| 37 |
if __name__ == "__main__":
|
| 38 |
demo.launch(mcp_server=True)
|
|
|
|
| 33 |
description="Analyze the sentiment of text using TextBlob"
|
| 34 |
)
|
| 35 |
|
| 36 |
+
demo.queue()
|
| 37 |
+
|
| 38 |
# Launch the interface and MCP server
|
| 39 |
if __name__ == "__main__":
|
| 40 |
demo.launch(mcp_server=True)
|