izeeek commited on
Commit
c8db42d
·
verified ·
1 Parent(s): 8537490

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -43,7 +43,7 @@ def predict(image):
43
  # Return the class label and confidence
44
  return class_to_label[predicted_class], f'{confidence * 100:.2f}%'
45
 
46
- example_images = ["healthy.jpeg", "unhealthy.jpeg"]
47
 
48
  # Create Gradio interface
49
  interface = gr.Interface(fn=predict,
 
43
  # Return the class label and confidence
44
  return class_to_label[predicted_class], f'{confidence * 100:.2f}%'
45
 
46
+ example_images = ["healthy.jpg", "unhealthy.jpg"]
47
 
48
  # Create Gradio interface
49
  interface = gr.Interface(fn=predict,