Skip to content

Commit

Permalink
Update app.py
Browse files Browse the repository at this point in the history
  • Loading branch information
satrio142 committed May 30, 2024
1 parent 5f3a3a1 commit 212a187
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def predict_kesegaran(model, file_name, target_size=(150, 150)):

# Menentukan label

return {"result":kesegaran_buah}
return {"result":predicted_label}
except Exception as e:
traceback.print_exc()
response.status_code = 500
Expand Down

0 comments on commit 212a187

Please sign in to comment.