adarsh-007 commited on
Commit
20e1a34
·
verified ·
1 Parent(s): c378e1e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -10
app.py CHANGED
@@ -62,16 +62,16 @@ with gr.Blocks() as iface:
62
  output_label = gr.Label(num_top_classes=3, label="Predictions")
63
 
64
  gr.Examples(
65
- examples=[
66
- ["/home/user/app/test_images/king_of_diamonds.jpg"],
67
- ["/home/user/app/test_images/jack_of_spades.jpg"],
68
- ["/home/user/app/test_images/ace_of_diamonds.jpg"],
69
- ["/home/user/app/test_images/three_of_hearts.jpg"],
70
- ["/home/user/app/test_images/ace_of_spades.jpg"]
71
- ],
72
- inputs=input_image,
73
- label="Try an example"
74
- )
75
 
76
 
77
  submit_btn.click(fn=classify_image, inputs=input_image, outputs=output_label)
 
62
  output_label = gr.Label(num_top_classes=3, label="Predictions")
63
 
64
  gr.Examples(
65
+ examples=[
66
+ ["test_images/king_of_diamonds.jpg"],
67
+ ["test_images/jack_of_spades.jpg"],
68
+ ["test_images/ace_of_diamonds.jpg"],
69
+ ["test_images/three_of_hearts.jpg"],
70
+ ["test_images/ace_of_spades.jpg"]
71
+ ],
72
+ inputs=input_image,
73
+ label="Try an example"
74
+ )
75
 
76
 
77
  submit_btn.click(fn=classify_image, inputs=input_image, outputs=output_label)