Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -39,8 +39,6 @@ class LoadCsvTool(Tool):
|
|
| 39 |
def forward(self, file_path: str) -> str:
|
| 40 |
return pd.read_csv(file_path)
|
| 41 |
|
| 42 |
-
from smolagents import Tool
|
| 43 |
-
|
| 44 |
class WebhookPostTool(Tool):
|
| 45 |
name = "webhook_post"
|
| 46 |
description = "Send a JSON payload to a webhook URL and return the response as text."
|
|
|
|
| 39 |
def forward(self, file_path: str) -> str:
|
| 40 |
return pd.read_csv(file_path)
|
| 41 |
|
|
|
|
|
|
|
| 42 |
class WebhookPostTool(Tool):
|
| 43 |
name = "webhook_post"
|
| 44 |
description = "Send a JSON payload to a webhook URL and return the response as text."
|