changed
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ from dotenv import load_dotenv
|
|
6 |
app = Flask(__name__)
|
7 |
load_dotenv()
|
8 |
|
9 |
-
@app.route("/
|
10 |
def index():
|
11 |
from agent._create import agent_executor
|
12 |
return agent_executor();
|
|
|
6 |
app = Flask(__name__)
|
7 |
load_dotenv()
|
8 |
|
9 |
+
@app.route("/", methods=['GET','POST'])
|
10 |
def index():
|
11 |
from agent._create import agent_executor
|
12 |
return agent_executor();
|