Ahmed235 commited on
Commit
289c895
·
verified ·
1 Parent(s): 48b683f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -28,7 +28,7 @@ def predict_image(image):
28
 
29
  # Get the probability of being 'Good'
30
  probability_good = prediction[0][0] # Assuming it's a binary classification
31
-
32
  # Define the prediction result
33
  result = {
34
  "prediction": probability_good
 
28
 
29
  # Get the probability of being 'Good'
30
  probability_good = prediction[0][0] # Assuming it's a binary classification
31
+ probability_good = str(probability_good)
32
  # Define the prediction result
33
  result = {
34
  "prediction": probability_good