rise-ai / app.py
markpeace's picture
test
a718e1e
raw
history blame
275 Bytes
#ESTABLISH THE SERVER
from flask import Flask,request
from dotenv import load_dotenv
# Initializing flask app
app = Flask(__name__)
load_dotenv()
@app.route("/k", methods=['GET','POST'])
def index():
from agent._create import agent_executor
return agent_executor();