Pepguy commited on
Commit
8a050c2
·
verified ·
1 Parent(s): e5a8afd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -336,6 +336,9 @@ def analyze_crop_with_gemini(jpeg_b64: str) -> Dict[str, Any]:
336
 
337
  # ---------- Main / processing ----------
338
 
 
 
 
339
 
340
  @app.route("/process", methods=["POST"])
341
  def process_image():
 
336
 
337
  # ---------- Main / processing ----------
338
 
339
+ @app.route("/", methods=["POST", "GET"])
340
+ def index_route():
341
+ return jsonify({"ok": true}), 200
342
 
343
  @app.route("/process", methods=["POST"])
344
  def process_image():