Update app.py
Browse files
app.py
CHANGED
|
@@ -99,6 +99,9 @@ workflow.add_conditional_edges(
|
|
| 99 |
workflow.add_edge("tools", "agent") # Create the ReAct Loop cycle [10]
|
| 100 |
|
| 101 |
agent_app = workflow.compile()
|
|
|
|
|
|
|
|
|
|
| 102 |
|
| 103 |
@app.route('/chat', methods=['POST'])
|
| 104 |
def chat():
|
|
|
|
| 99 |
workflow.add_edge("tools", "agent") # Create the ReAct Loop cycle [10]
|
| 100 |
|
| 101 |
agent_app = workflow.compile()
|
| 102 |
+
@app.route('/')
|
| 103 |
+
def index():
|
| 104 |
+
return render_template('index.html')
|
| 105 |
|
| 106 |
@app.route('/chat', methods=['POST'])
|
| 107 |
def chat():
|