From 5f3a3a1a98ee7dfcf4d1cdb896ef8501364a91cf Mon Sep 17 00:00:00 2001 From: satrio142 <106372451+satrio142@users.noreply.github.com> Date: Wed, 29 May 2024 20:57:22 +0700 Subject: [PATCH] Update app.py --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index a140faa..b8f038c 100644 --- a/app.py +++ b/app.py @@ -84,7 +84,7 @@ def predict_kesegaran(model, file_name, target_size=(150, 150)): # Menentukan label - return {"result":"kesegaran_buah"} + return {"result":kesegaran_buah} except Exception as e: traceback.print_exc() response.status_code = 500