Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -28,9 +28,9 @@ def pokemon_classifier(inp):
|
|
28 |
|
29 |
with gr.Blocks() as demo:
|
30 |
gr.Markdown("# Gen 1 Pokemon classifier")
|
31 |
-
with gr.
|
32 |
inp = gr.Image(type="pil")
|
33 |
-
out = gr.Textbox()
|
34 |
btn = gr.Button("Run")
|
35 |
btn.click(fn=pokemon_classifier, inputs=inp, outputs=out)
|
36 |
|
|
|
28 |
|
29 |
with gr.Blocks() as demo:
|
30 |
gr.Markdown("# Gen 1 Pokemon classifier")
|
31 |
+
with gr.Column(scale=1):
|
32 |
inp = gr.Image(type="pil")
|
33 |
+
out = gr.Textbox(label='Pokemon')
|
34 |
btn = gr.Button("Run")
|
35 |
btn.click(fn=pokemon_classifier, inputs=inp, outputs=out)
|
36 |
|