victor commited on
Commit
40b01ce
·
1 Parent(s): 7095d4d
Files changed (1) hide show
  1. app.py +2 -2
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.inputs.Image(shape=(128, 128)) # Image size should match your training data size (e.g., 128x128)
56
- label = gr.outputs.Label()
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(