Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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=
|
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=
|
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)
|