debugging
Browse files
app.py
CHANGED
@@ -11,14 +11,14 @@ CORS(app)
|
|
11 |
load_dotenv()
|
12 |
|
13 |
|
14 |
-
@app.route("/
|
15 |
def index():
|
16 |
-
from agent._create import agent
|
17 |
-
return agent(request.values)
|
18 |
-
|
19 |
|
20 |
@app.route("/train/faq", methods=['GET','POST'])
|
21 |
def train_faq():
|
22 |
-
|
23 |
-
|
24 |
-
|
|
|
11 |
load_dotenv()
|
12 |
|
13 |
|
14 |
+
@app.route("/", methods=['GET','POST'])
|
15 |
def index():
|
16 |
+
#from agent._create import agent
|
17 |
+
#return agent(request.values)
|
18 |
+
return "hi"
|
19 |
|
20 |
@app.route("/train/faq", methods=['GET','POST'])
|
21 |
def train_faq():
|
22 |
+
from train.faq import train
|
23 |
+
return train();
|
24 |
+
|