adarsh-007 commited on
Commit
cd7fc61
·
verified ·
1 Parent(s): f9dee50

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -11
app.py CHANGED
@@ -61,17 +61,17 @@ with gr.Blocks() as iface:
61
  with gr.Column():
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)
 
61
  with gr.Column():
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)