Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import importlib
|
|
4 |
var2 = os.environ.get("var2")
|
5 |
if var2:
|
6 |
chatbot_module = importlib.import_module(var2)
|
7 |
-
|
8 |
|
9 |
def main(user):
|
10 |
if "/web" in user:
|
|
|
4 |
var2 = os.environ.get("var2")
|
5 |
if var2:
|
6 |
chatbot_module = importlib.import_module(var2)
|
7 |
+
Chatbot = getattr(chatbot_module, "Chatbot")
|
8 |
|
9 |
def main(user):
|
10 |
if "/web" in user:
|