File size: 274 Bytes
76c5345
 
 
 
 
 
 
 
e996a6f
76c5345
 
 
1
2
3
4
5
6
7
8
9
10
11
12
#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();