yuragoithf commited on
Commit
7487aec
·
1 Parent(s): 3fd1af3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -27,7 +27,7 @@ inputs = gr.inputs.Image(type="pil", label="Upload an image")
27
  title = "<h1 style='text-align: center;'>Image Segmentation</h1>"
28
  description = "Upload an image and get the segmentation result."
29
 
30
- gr.Interface(fn=classify_image,
31
  inputs=inputs,
32
  outputs=query(inputs.get_name()),
33
  title=title,
 
27
  title = "<h1 style='text-align: center;'>Image Segmentation</h1>"
28
  description = "Upload an image and get the segmentation result."
29
 
30
+ gr.Interface(fn=query,
31
  inputs=inputs,
32
  outputs=query(inputs.get_name()),
33
  title=title,