ClassCat commited on
Commit
99bc4fb
·
1 Parent(s): 7e46da1

update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -41,7 +41,11 @@ with gr.Blocks(title="ViT ImageNet Classification - ClassCat",
41
  with gr.Row():
42
  with gr.Column():
43
  input_image = gr.Image(type="pil", image_mode="RGB", shape=(224, 224))
44
- gr.Examples(example_files, inputs=input_image)
 
 
 
 
45
 
46
  output_label=gr.Label(label="Probabilities", num_top_classes=3)
47
 
 
41
  with gr.Row():
42
  with gr.Column():
43
  input_image = gr.Image(type="pil", image_mode="RGB", shape=(224, 224))
44
+
45
+ with gr.Row():
46
+ gr.Examples(['./samples/cheetah.jpg'], label='Sample images : cheetah', inputs=input_image)
47
+ gr.Examples(['./samples/lion.jpg'], label='lion', inputs=input_image)
48
+ #gr.Examples(example_files, inputs=input_image)
49
 
50
  output_label=gr.Label(label="Probabilities", num_top_classes=3)
51