kuko6 commited on
Commit
720168f
·
1 Parent(s): e8da7ff

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -28,7 +28,7 @@ def pokemon_classifier(inp):
28
 
29
  with gr.Blocks() as demo:
30
  gr.Markdown("# Gen 1 Pokemon classifier")
31
- with gr.Column(scale=2):
32
  inp = gr.Image(type="pil")
33
  out = gr.Textbox(label='Pokemon')
34
  gr.Examples(
@@ -40,7 +40,7 @@ with gr.Blocks() as demo:
40
  inputs=inp,
41
  outputs=out,
42
  fn=pokemon_classifier,
43
- cache_examples=True
44
  )
45
  btn = gr.Button("Run")
46
  btn.click(fn=pokemon_classifier, inputs=inp, outputs=out)
 
28
 
29
  with gr.Blocks() as demo:
30
  gr.Markdown("# Gen 1 Pokemon classifier")
31
+ with gr.Column(scale=4):
32
  inp = gr.Image(type="pil")
33
  out = gr.Textbox(label='Pokemon')
34
  gr.Examples(
 
40
  inputs=inp,
41
  outputs=out,
42
  fn=pokemon_classifier,
43
+ cache_examples=False
44
  )
45
  btn = gr.Button("Run")
46
  btn.click(fn=pokemon_classifier, inputs=inp, outputs=out)