markpeace commited on
Commit
0e6989e
·
1 Parent(s): c01301b

redeployed

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -11,11 +11,10 @@ CORS(app)
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 " thehi"
19
 
20
  @app.route("/train/faq", methods=['GET','POST'])
21
  def train_faq():
 
11
  load_dotenv()
12
 
13
 
14
+ @app.route("/ask", methods=['GET','POST'])
15
  def index():
16
+ from agent._create import agent
17
+ return agent(request.values)
 
18
 
19
  @app.route("/train/faq", methods=['GET','POST'])
20
  def train_faq():