Muhammad Abdiel Al Hafiz commited on
Commit
7dc8bac
·
1 Parent(s): 2582163

fix output

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -32,7 +32,7 @@ def predict_image(image):
32
 
33
  explanation = get_disease_detail(top_label)
34
 
35
- return {top_label: top_probability, "explanation": explanation}
36
 
37
  # Example images
38
  example_images = [
 
32
 
33
  explanation = get_disease_detail(top_label)
34
 
35
+ return top_label, explanation
36
 
37
  # Example images
38
  example_images = [