Spaces:
Runtime error
Runtime error
Ubuntu commited on
Commit ·
f98679d
1
Parent(s): ea2b79c
WIP
Browse files- .continue/local-models.yaml +13 -0
- .continue/mcpServers/playwright-mcp.yaml +8 -0
- app.py +1 -1
- config.json +7 -0
.continue/local-models.yaml
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: Llama.cpp model
|
| 2 |
+
version: 0.0.1
|
| 3 |
+
schema: v1
|
| 4 |
+
models:
|
| 5 |
+
- provider: llama.cpp
|
| 6 |
+
model: unsloth/Devstral-Small-2505-GGUF
|
| 7 |
+
apiBase: http://localhost:8080
|
| 8 |
+
defaultCompletionOptions:
|
| 9 |
+
contextLength: 8192 # Adjust based on the model
|
| 10 |
+
name: Llama.cpp Devstral-Small
|
| 11 |
+
roles:
|
| 12 |
+
- chat
|
| 13 |
+
- edit
|
.continue/mcpServers/playwright-mcp.yaml
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: Playwright mcpServer
|
| 2 |
+
version: 0.0.1
|
| 3 |
+
schema: v1
|
| 4 |
+
mcpServers:
|
| 5 |
+
- name: Browser search
|
| 6 |
+
command: npx
|
| 7 |
+
args:
|
| 8 |
+
- "@playwright/mcp@latest"
|
app.py
CHANGED
|
@@ -4,7 +4,7 @@ from textblob import TextBlob
|
|
| 4 |
|
| 5 |
|
| 6 |
def sentiment_analysis(text: str) -> str:
|
| 7 |
-
"""
|
| 8 |
Analyze the sentiment of the given text.
|
| 9 |
|
| 10 |
Args:
|
|
|
|
| 4 |
|
| 5 |
|
| 6 |
def sentiment_analysis(text: str) -> str:
|
| 7 |
+
""" 1
|
| 8 |
Analyze the sentiment of the given text.
|
| 9 |
|
| 10 |
Args:
|
config.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"mcpServers": {
|
| 3 |
+
"mcp": {
|
| 4 |
+
"url": "http://localhost:7860/gradio_api/mcp/sse"
|
| 5 |
+
}
|
| 6 |
+
}
|
| 7 |
+
}
|