Jianfeng777 commited on
Commit
1d1eedc
1 Parent(s): 87e08ce

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -45,7 +45,7 @@ from gradio import Interface, components
45
  # 鍒涘缓 Gradio 鐣岄潰
46
  iface = Interface(
47
  fn=classify_image,
48
- inputs=components.Image(shape=(224, 224)),
49
  outputs=[
50
  components.Label(num_top_classes=2),
51
  components.Textbox(label="鍒嗙被缁撴灉")
 
45
  # 鍒涘缓 Gradio 鐣岄潰
46
  iface = Interface(
47
  fn=classify_image,
48
+ inputs=components.Image(),
49
  outputs=[
50
  components.Label(num_top_classes=2),
51
  components.Textbox(label="鍒嗙被缁撴灉")