Spaces:
Sleeping
Sleeping
Upload tool
Browse files
tool.py
CHANGED
|
@@ -18,5 +18,6 @@ class SuperheroPartyThemeTool(Tool):
|
|
| 18 |
|
| 19 |
return themes.get(category.lower(), "Themed party idea not found. Try 'classic heroes', 'villain masquerade', or 'futuristic Gotham'.")
|
| 20 |
|
| 21 |
-
def
|
| 22 |
-
self
|
|
|
|
|
|
| 18 |
|
| 19 |
return themes.get(category.lower(), "Themed party idea not found. Try 'classic heroes', 'villain masquerade', or 'futuristic Gotham'.")
|
| 20 |
|
| 21 |
+
def new_init(self, *args, **kwargs):
|
| 22 |
+
original_init(self, *args, **kwargs)
|
| 23 |
+
self.validate_arguments()
|