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