Spaces:
Sleeping
Sleeping
acecalisto3
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -83,8 +83,8 @@ def get_projects():
|
|
83 |
|
84 |
# Plugin system
|
85 |
class PluginManager:
|
86 |
-
def __init__(self
|
87 |
-
self.plugin_dir =
|
88 |
self.plugins = {}
|
89 |
|
90 |
def load_plugins(self):
|
@@ -114,7 +114,7 @@ class ExamplePlugin:
|
|
114 |
def run(self, input_data):
|
115 |
return f"Plugin processed: {input_data}"
|
116 |
|
117 |
-
plugin_manager = PluginManager(
|
118 |
plugin_manager.load_plugins()
|
119 |
|
120 |
# AI Assistant
|
|
|
83 |
|
84 |
# Plugin system
|
85 |
class PluginManager:
|
86 |
+
def __init__(self):
|
87 |
+
self.plugin_dir = './plugins'
|
88 |
self.plugins = {}
|
89 |
|
90 |
def load_plugins(self):
|
|
|
114 |
def run(self, input_data):
|
115 |
return f"Plugin processed: {input_data}"
|
116 |
|
117 |
+
plugin_manager = PluginManager()
|
118 |
plugin_manager.load_plugins()
|
119 |
|
120 |
# AI Assistant
|