RUVNE commited on
Commit
31dca8d
·
1 Parent(s): a747b47

fix: init route

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -73,9 +73,10 @@ def hash_image(image: Image.Image) -> str:
73
  image_bytes = image.tobytes()
74
  return hashlib.md5(image_bytes).hexdigest()
75
 
 
76
  @app.get("/")
77
- async def root():
78
- return {"message": "Selamat datang di AgroLens Backend!"}
79
 
80
 
81
  # === Endpoint: Prediksi Gambar ===
 
73
  image_bytes = image.tobytes()
74
  return hashlib.md5(image_bytes).hexdigest()
75
 
76
+
77
  @app.get("/")
78
+ def root():
79
+ return {"ok": True}
80
 
81
 
82
  # === Endpoint: Prediksi Gambar ===