vscode commited on
Commit
7511dd2
·
verified ·
1 Parent(s): 8998cb9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -165,7 +165,9 @@ def get_animal_data(animal_type, count):
165
  seasonal_tips = 'Summer: Maintain cool and dry conditions, Winter: Keep warm, Rainy: Ensure adequate airflow.'
166
 
167
  return area_size, feed_type, feed_quantity, cost_in_inr, water_supply, hygiene_tips, seasonal_tips
168
-
 
 
169
  @app.route("/chat", methods=["POST"])
170
  def chat():
171
  data = request.json
 
165
  seasonal_tips = 'Summer: Maintain cool and dry conditions, Winter: Keep warm, Rainy: Ensure adequate airflow.'
166
 
167
  return area_size, feed_type, feed_quantity, cost_in_inr, water_supply, hygiene_tips, seasonal_tips
168
+ @app.route("/ai-chatbot")
169
+ def ai_chatbot():
170
+ return render_template("s2.html")
171
  @app.route("/chat", methods=["POST"])
172
  def chat():
173
  data = request.json