gilangf3000 commited on
Commit
f4de3a1
·
verified ·
1 Parent(s): ddea88d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -51,7 +51,7 @@ def chat():
51
  except Exception as e:
52
  return jsonify({"error": str(e)}), 500
53
 
54
- @app.route("/", methods=["GET"])
55
  def api_status():
56
  return jsonify({"status": "API is active", "version": "1.0.0", "service": "Chatbot"})
57
 
 
51
  except Exception as e:
52
  return jsonify({"error": str(e)}), 500
53
 
54
+ @app.route("/json", methods=["GET"])
55
  def api_status():
56
  return jsonify({"status": "API is active", "version": "1.0.0", "service": "Chatbot"})
57