Karin0616 commited on
Commit
37bdf9b
β€’
1 Parent(s): e5862fe

example radio

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -57,8 +57,8 @@ def label_to_color_image(label):
57
 
58
  # Gradio μΈν„°νŽ˜μ΄μŠ€ μ •μ˜
59
  iface = gr.Interface(
60
- fn=lambda image: predict_segmentation(image, model),
61
- inputs="image",
62
  outputs="image",
63
  examples=["city1.jpg","city2.jpg","city3.jpg"],
64
  )
 
57
 
58
  # Gradio μΈν„°νŽ˜μ΄μŠ€ μ •μ˜
59
  iface = gr.Interface(
60
+ fn=predict_segmentation,
61
+ inputs=gr.Image(shape=(564,846)),
62
  outputs="image",
63
  examples=["city1.jpg","city2.jpg","city3.jpg"],
64
  )