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