ClassCat commited on
Commit
8c0f1ed
1 Parent(s): 99bc4fb

update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -42,10 +42,10 @@ with gr.Blocks(title="ViT ImageNet Classification - ClassCat",
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
 
 
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