annanau commited on
Commit
3d4022a
·
verified ·
1 Parent(s): 244b65c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -24,9 +24,9 @@ def classify_image(img):
24
  return {class_labels[i]: float(predictions[0][i]) for i in range(len(class_labels))}, confidence
25
 
26
  # Example images (local paths or URLs)
27
- example_images = [
28
- 'examples/fresh.jpg', # Replace with actual local file paths or URLs
29
- ]
30
 
31
  # Gradio interface
32
  demo = gr.Interface(
 
24
  return {class_labels[i]: float(predictions[0][i]) for i in range(len(class_labels))}, confidence
25
 
26
  # Example images (local paths or URLs)
27
+ #example_images = [
28
+ #'examples/fresh.jpg', # Replace with actual local file paths or URLs
29
+ #]
30
 
31
  # Gradio interface
32
  demo = gr.Interface(