maty0505 commited on
Commit
a77b109
·
verified ·
1 Parent(s): 443643e
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ def predict(image):
21
  # Gradioインターフェースの定義
22
  iface = gr.Interface(
23
  fn=predict,
24
- inputs=gr.inputs.Image(type="numpy"),
25
  outputs="text",
26
  live=True
27
  )
 
21
  # Gradioインターフェースの定義
22
  iface = gr.Interface(
23
  fn=predict,
24
+ inputs=gr.components.Image(type="numpy"),
25
  outputs="text",
26
  live=True
27
  )