Spaces:
Sleeping
Sleeping
victor
commited on
Commit
·
1add3b8
1
Parent(s):
40b01ce
added txt
Browse files
app.py
CHANGED
@@ -52,7 +52,7 @@ def classify_pokemon(img):
|
|
52 |
return dict(zip(categories, map(float, probs)))
|
53 |
|
54 |
# Gradio interface setup
|
55 |
-
image = gr.Image(
|
56 |
label = gr.Label()
|
57 |
|
58 |
# Set up Gradio interface
|
|
|
52 |
return dict(zip(categories, map(float, probs)))
|
53 |
|
54 |
# Gradio interface setup
|
55 |
+
image = gr.Image(type='pil') # Image size should match your training data size (e.g., 128x128)
|
56 |
label = gr.Label()
|
57 |
|
58 |
# Set up Gradio interface
|