Spaces:
Paused
Paused
Commit
·
519bc60
1
Parent(s):
5bcd9f1
Changes to be committed:
Browse filesnew file: .gitignore
new file: .python-version
new file: README.md
modified: app.py
new file: main.py
new file: pyproject.toml
new file: uv.lock
- .gitignore +10 -0
- .python-version +1 -0
- app.py +1 -1
- main.py +6 -0
- pyproject.toml +10 -0
- uv.lock +0 -0
.gitignore
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Python-generated files
|
2 |
+
__pycache__/
|
3 |
+
*.py[oc]
|
4 |
+
build/
|
5 |
+
dist/
|
6 |
+
wheels/
|
7 |
+
*.egg-info
|
8 |
+
|
9 |
+
# Virtual environments
|
10 |
+
.venv
|
.python-version
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
3.13
|
app.py
CHANGED
@@ -35,4 +35,4 @@ demo = gr.Interface(
|
|
35 |
|
36 |
# Launch the interface and MCP server
|
37 |
if __name__ == "__main__":
|
38 |
-
demo.launch(mcp_server=True)
|
|
|
35 |
|
36 |
# Launch the interface and MCP server
|
37 |
if __name__ == "__main__":
|
38 |
+
demo.launch(mcp_server=True)
|
main.py
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
def main():
|
2 |
+
print("Hello from mcp-sentiment!")
|
3 |
+
|
4 |
+
|
5 |
+
if __name__ == "__main__":
|
6 |
+
main()
|
pyproject.toml
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[project]
|
2 |
+
name = "mcp-sentiment"
|
3 |
+
version = "0.1.0"
|
4 |
+
description = "Add your description here"
|
5 |
+
readme = "README.md"
|
6 |
+
requires-python = ">=3.13"
|
7 |
+
dependencies = [
|
8 |
+
"gradio[mcp]>=5.34.0",
|
9 |
+
"textblob>=0.19.0",
|
10 |
+
]
|
uv.lock
ADDED
The diff for this file is too large to render.
See raw diff
|
|